Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Examples_ThreeWayValves",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Examples_ThreeWayValves",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006543/0.006542, allocations: 102.4 kB / 15.73 MB, free: 6.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 194.3 kB / 16.67 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9588/0.9588, allocations: 135.1 MB / 425.7 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001541/0.001541, allocations: 63.89 kB / 0.5851 GB, free: 3.848 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4021/0.4037, allocations: 80.91 MB / 0.6642 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.1134/0.5171, allocations: 112.6 MB / 0.7742 GB, free: 0.6172 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.03099/0.5482, allocations: 20.22 MB / 0.7939 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006038/0.5542, allocations: 107.3 kB / 0.794 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.00518/0.5595, allocations: 1.308 MB / 0.7953 GB, free: 10.92 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01276/0.5723, allocations: 3.861 MB / 0.7991 GB, free: 7.047 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.008191/0.5805, allocations: 3.12 MB / 0.8021 GB, free: 3.965 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01105/0.5916, allocations: 7.22 MB / 0.8092 GB, free: 12.72 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004595/0.5962, allocations: 2.576 MB / 0.8117 GB, free: 10.09 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007523/0.6038, allocations: 2.891 MB / 0.8145 GB, free: 7.191 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00433/0.6081, allocations: 2.131 MB / 0.8166 GB, free: 5.051 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0008301/0.609, allocations: 256 kB / 0.8168 GB, free: 4.801 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004797/0.6138, allocations: 1.642 MB / 0.8184 GB, free: 3.156 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.00105/0.6149, allocations: 0.6928 MB / 0.8191 GB, free: 2.461 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002616/0.6175, allocations: 1.512 MB / 0.8206 GB, free: 0.9414 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.007408/0.6249, allocations: 4.393 MB / 0.8249 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.625, allocations: 4 kB / 0.8249 GB, free: 12.53 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.565e-06/0.625, allocations: 0 / 0.8249 GB, free: 12.53 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001248/0.6251, allocations: 0 / 0.8249 GB, free: 12.53 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 379 * Number of variables: 379 Notification: Performance of Generate backend data structure: time 0.006682/0.6318, allocations: 3.233 MB / 0.828 GB, free: 9.227 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.555e-05/0.6319, allocations: 12.03 kB / 0.828 GB, free: 9.215 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002959/0.6322, allocations: 219.5 kB / 0.8283 GB, free: 8.988 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000977/0.6331, allocations: 324.2 kB / 0.8286 GB, free: 8.668 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004851/0.638, allocations: 2.198 MB / 0.8307 GB, free: 6.398 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001063/0.6381, allocations: 123 kB / 0.8308 GB, free: 6.277 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002826/0.6384, allocations: 168 kB / 0.831 GB, free: 6.113 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002963/0.6414, allocations: 1.619 MB / 0.8326 GB, free: 4.434 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.886e-05/0.6415, allocations: 4 kB / 0.8326 GB, free: 4.43 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001277/0.6416, allocations: 60 kB / 0.8326 GB, free: 4.371 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.771e-05/0.6417, allocations: 43.98 kB / 0.8327 GB, free: 4.328 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002067/0.6437, allocations: 1.147 MB / 0.8338 GB, free: 3.176 MB / 0.6544 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01182/0.6556, allocations: 7.912 MB / 0.8415 GB, free: 10.75 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008265/0.6564, allocations: 469.9 kB / 0.842 GB, free: 10.29 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004925/0.6569, allocations: 327 kB / 0.8423 GB, free: 9.969 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006573/0.6576, allocations: 0.7602 MB / 0.843 GB, free: 9.043 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.665e-05/0.6577, allocations: 43.06 kB / 0.8431 GB, free: 8.992 MB / 0.67 GB Notification: Performance of pre-optimization done (n=60): time 2.294e-06/0.6577, allocations: 0 / 0.8431 GB, free: 8.992 MB / 0.67 GB Notification: Performance of matching and sorting (n=60): time 0.002367/0.66, allocations: 0.9958 MB / 0.844 GB, free: 7.988 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.598e-05/0.6601, allocations: 59.97 kB / 0.8441 GB, free: 7.918 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003376/0.6635, allocations: 2.332 MB / 0.8464 GB, free: 5.574 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001911/0.6637, allocations: 41.7 kB / 0.8464 GB, free: 5.527 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001011/0.6647, allocations: 1.153 MB / 0.8475 GB, free: 4.363 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.000241/0.665, allocations: 217 kB / 0.8477 GB, free: 4.148 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003915/0.6654, allocations: 258.5 kB / 0.848 GB, free: 3.887 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.6655, allocations: 349.9 kB / 0.8483 GB, free: 3.539 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007062/0.6663, allocations: 369.9 kB / 0.8487 GB, free: 3.176 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001031/0.6673, allocations: 0.7424 MB / 0.8494 GB, free: 2.277 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001452/0.6688, allocations: 0.9824 MB / 0.8504 GB, free: 1.184 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/0.6688, allocations: 0 / 0.8504 GB, free: 1.184 MB / 0.67 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.00262/0.6714, allocations: 1.292 MB / 0.8516 GB, free: 15.88 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.888e-05/0.6715, allocations: 8 kB / 0.8516 GB, free: 15.88 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.61e-05/0.6715, allocations: 8 kB / 0.8516 GB, free: 15.87 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.881e-05/0.6715, allocations: 16 kB / 0.8517 GB, free: 15.85 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009981/0.6725, allocations: 251.6 kB / 0.8519 GB, free: 15.61 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.761e-05/0.6726, allocations: 23.92 kB / 0.8519 GB, free: 15.58 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001766/0.6743, allocations: 166.4 kB / 0.8521 GB, free: 15.42 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001667/0.6745, allocations: 55.98 kB / 0.8521 GB, free: 15.36 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001506/0.676, allocations: 0.7602 MB / 0.8529 GB, free: 14.6 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009654/0.677, allocations: 0.7463 MB / 0.8536 GB, free: 13.69 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001391/0.6784, allocations: 0.9525 MB / 0.8545 GB, free: 12.62 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.953e-06/0.6785, allocations: 4 kB / 0.8545 GB, free: 12.62 MB / 0.6856 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.002992/0.6815, allocations: 1.254 MB / 0.8558 GB, free: 11.36 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.684e-05/0.6815, allocations: 12 kB / 0.8558 GB, free: 11.34 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.49e-05/0.6815, allocations: 8 kB / 0.8558 GB, free: 11.34 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/0.6816, allocations: 12 kB / 0.8558 GB, free: 11.32 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00101/0.6826, allocations: 251.6 kB / 0.856 GB, free: 11.08 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.504e-05/0.6826, allocations: 23.92 kB / 0.856 GB, free: 11.05 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001973/0.6846, allocations: 123.6 kB / 0.8562 GB, free: 10.93 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001281/0.6847, allocations: 55.98 kB / 0.8562 GB, free: 10.88 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (141): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000352/0.6851, allocations: 249.4 kB / 0.8565 GB, free: 10.63 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006066/0.6857, allocations: 233 kB / 0.8567 GB, free: 10.4 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002109/0.6878, allocations: 0.8896 MB / 0.8575 GB, free: 9.496 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-05/0.6879, allocations: 8 kB / 0.8576 GB, free: 9.488 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.854e-06/0.6879, allocations: 0 / 0.8576 GB, free: 9.488 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001182/0.6891, allocations: 0.6891 MB / 0.8582 GB, free: 8.77 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004901/0.694, allocations: 2.582 MB / 0.8608 GB, free: 6.113 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.6941, allocations: 0 / 0.8608 GB, free: 6.113 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005513/0.6946, allocations: 123.9 kB / 0.8609 GB, free: 5.992 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.001e-05/0.6946, allocations: 8.094 kB / 0.8609 GB, free: 5.984 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.098e-05/0.6947, allocations: 23.98 kB / 0.8609 GB, free: 5.961 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.197e-06/0.6947, allocations: 7.938 kB / 0.8609 GB, free: 5.953 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.6947, allocations: 0 / 0.8609 GB, free: 5.953 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002319/0.697, allocations: 1.309 MB / 0.8622 GB, free: 4.609 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009118/0.698, allocations: 418 kB / 0.8626 GB, free: 4.18 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003142/0.6983, allocations: 12 kB / 0.8626 GB, free: 4.168 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009981/0.6993, allocations: 51.78 kB / 0.8626 GB, free: 4.117 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/0.6994, allocations: 44.52 kB / 0.8627 GB, free: 4.074 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.539e-05/0.6995, allocations: 31.97 kB / 0.8627 GB, free: 4.043 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002666/0.7022, allocations: 1.569 MB / 0.8643 GB, free: 2.469 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.234e-06/0.7022, allocations: 0 / 0.8643 GB, free: 2.469 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003561/0.7058, allocations: 1.115 MB / 0.8653 GB, free: 1.352 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (valLin.vol.dynBal.U,valEquPerLin.vol.dynBal.U,valTab.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.3402/1.046, allocations: 2.511 MB / 0.8678 GB, free: 184.8 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002755/1.049, allocations: 1.362 MB / 0.8691 GB, free: 184.6 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/1.049, allocations: 0.9688 kB / 0.8691 GB, free: 184.6 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0005774/1.049, allocations: 325.1 kB / 0.8694 GB, free: 184.5 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005924/1.055, allocations: 1.379 MB / 0.8708 GB, free: 184.2 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02788/1.083, allocations: 14.84 MB / 0.8853 GB, free: 177.5 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00134/1.085, allocations: 1.592 MB / 0.8868 GB, free: 176.5 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.002681/1.087, allocations: 0.4945 MB / 0.8873 GB, free: 176.3 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001373/1.089, allocations: 0.9624 MB / 0.8883 GB, free: 175.4 MB / 0.6856 GB Notification: Performance of SimCode: time 1.643e-06/1.089, allocations: 0 / 0.8883 GB, free: 175.4 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09541/1.184, allocations: 64.17 MB / 0.9509 GB, free: 121.4 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.53/13.71, allocations: 6.562 kB / 0.9509 GB, free: 121.4 MB / 0.6856 GB (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Examples_ThreeWayValves_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Examples_ThreeWayValves.fmu > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)