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: translateModel(IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00124/0.001241, allocations: 111.2 kB / 16.42 MB, free: 6.461 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.001048/0.001048, allocations: 190.7 kB / 17.35 MB, free: 5.715 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.282/1.282, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7766/0.7766, allocations: 135.1 MB / 426.3 MB, free: 4.098 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001153/0.001153, allocations: 63.28 kB / 0.5863 GB, free: 21.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1462, allocations: 80.92 MB / 0.6653 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.4522/0.5984, allocations: 112.6 MB / 0.7753 GB, free: 21.64 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02681/0.6252, allocations: 20.21 MB / 0.795 GB, free: 19.03 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005713/0.631, allocations: 108.2 kB / 0.7951 GB, free: 19.03 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004203/0.6352, allocations: 1.308 MB / 0.7964 GB, free: 18.3 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01121/0.6465, allocations: 3.869 MB / 0.8002 GB, free: 16.55 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.007267/0.6538, allocations: 3.113 MB / 0.8032 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008978/0.6628, allocations: 7.226 MB / 0.8103 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003122/0.6659, allocations: 2.581 MB / 0.8128 GB, free: 9.164 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005619/0.6716, allocations: 2.896 MB / 0.8156 GB, free: 7.426 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00356/0.6751, allocations: 2.129 MB / 0.8177 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0006522/0.6758, allocations: 253 kB / 0.818 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004803/0.6806, allocations: 1.65 MB / 0.8196 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007097/0.6813, allocations: 0.6943 MB / 0.8203 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00218/0.6835, allocations: 1.515 MB / 0.8217 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006046/0.6896, allocations: 4.403 MB / 0.826 GB, free: 0.6797 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.6896, allocations: 0 / 0.826 GB, free: 0.6797 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.423e-06/0.6896, allocations: 0 / 0.826 GB, free: 0.6797 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.643e-05/0.6897, allocations: 0 / 0.826 GB, free: 0.6797 MB / 0.5762 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.005322/0.695, allocations: 3.228 MB / 0.8292 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.6951, allocations: 9.109 kB / 0.8292 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008381/0.6959, allocations: 328.2 kB / 0.8295 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003929/0.6999, allocations: 2.198 MB / 0.8317 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.095e-05/0.7, allocations: 123 kB / 0.8318 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002196/0.7002, allocations: 168 kB / 0.8319 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002732/0.7029, allocations: 1.612 MB / 0.8335 GB, free: 9.734 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.327e-05/0.703, allocations: 8 kB / 0.8335 GB, free: 9.727 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001272/0.7031, allocations: 63.94 kB / 0.8336 GB, free: 9.664 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.796e-05/0.7032, allocations: 48 kB / 0.8336 GB, free: 9.617 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001963/0.7051, allocations: 1.143 MB / 0.8347 GB, free: 8.469 MB / 0.5919 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.01121/0.7164, allocations: 7.914 MB / 0.8425 GB, free: 44 kB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007541/0.7171, allocations: 466 kB / 0.8429 GB, free: 15.58 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005118/0.7177, allocations: 323 kB / 0.8432 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006899/0.7184, allocations: 0.7524 MB / 0.844 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.052e-05/0.7184, allocations: 47.06 kB / 0.844 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=60): time 2.986e-06/0.7184, allocations: 0 / 0.844 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of matching and sorting (n=60): time 0.002092/0.7205, allocations: 0.9881 MB / 0.845 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.72e-05/0.7206, allocations: 59.97 kB / 0.845 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002944/0.7235, allocations: 2.332 MB / 0.8473 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001253/0.7237, allocations: 49.7 kB / 0.8473 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009603/0.7246, allocations: 1.153 MB / 0.8485 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002187/0.7249, allocations: 213 kB / 0.8487 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003661/0.7252, allocations: 258.5 kB / 0.8489 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.7254, allocations: 353.9 kB / 0.8493 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006166/0.726, allocations: 357.9 kB / 0.8496 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001034/0.727, allocations: 0.7463 MB / 0.8503 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001396/0.7284, allocations: 0.9824 MB / 0.8513 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.458e-06/0.7285, allocations: 11.94 kB / 0.8513 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002305/0.7308, allocations: 1.292 MB / 0.8526 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.7308, allocations: 8 kB / 0.8526 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/0.7308, allocations: 8 kB / 0.8526 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.739e-05/0.7309, allocations: 16 kB / 0.8526 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009315/0.7318, allocations: 255.5 kB / 0.8528 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.582e-05/0.7318, allocations: 15.94 kB / 0.8528 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001456/0.7333, allocations: 178.5 kB / 0.853 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-05/0.7334, allocations: 51.98 kB / 0.8531 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001273/0.7347, allocations: 0.7602 MB / 0.8538 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009531/0.7356, allocations: 0.7385 MB / 0.8545 GB, free: 2.984 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001321/0.737, allocations: 0.9447 MB / 0.8555 GB, free: 1.926 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.376e-06/0.737, allocations: 4 kB / 0.8555 GB, free: 1.922 MB / 0.6075 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.002132/0.7391, allocations: 1.27 MB / 0.8567 GB, free: 0.6406 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.7392, allocations: 8 kB / 0.8567 GB, free: 0.6328 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.741e-05/0.7392, allocations: 15.98 kB / 0.8567 GB, free: 0.6172 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.7392, allocations: 12 kB / 0.8567 GB, free: 0.6055 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008616/0.7401, allocations: 247.6 kB / 0.857 GB, free: 372 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.152e-05/0.7401, allocations: 16.5 kB / 0.857 GB, free: 356 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001495/0.7416, allocations: 127.2 kB / 0.8571 GB, free: 228 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.918e-05/0.7417, allocations: 51.98 kB / 0.8572 GB, free: 176 kB / 0.6075 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.0003125/0.742, allocations: 251.9 kB / 0.8574 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004518/0.7425, allocations: 233 kB / 0.8576 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001739/0.7442, allocations: 0.8896 MB / 0.8585 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001108/0.7454, allocations: 0.6892 MB / 0.8592 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.7454, allocations: 0 / 0.8592 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000998/0.7464, allocations: 410 kB / 0.8595 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004841/0.7469, allocations: 12 kB / 0.8596 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001154/0.748, allocations: 47.84 kB / 0.8596 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.7482, allocations: 44.44 kB / 0.8596 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001557/0.7497, allocations: 0.7798 MB / 0.8604 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002177/0.7519, allocations: 1.387 MB / 0.8618 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004584/0.7524, allocations: 320.4 kB / 0.8621 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.002476/0.7549, allocations: 1.566 MB / 0.8636 GB, free: 9.469 MB / 0.6231 GB Notification: Performance of Backend: time 6.61e-07/0.7549, allocations: 0 / 0.8636 GB, free: 9.469 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00528/0.7602, allocations: 2.043 MB / 0.8656 GB, free: 7.625 MB / 0.6231 GB Notification: Performance of SimCode: time 0.01041/0.7706, allocations: 5.17 MB / 0.8706 GB, free: 2.449 MB / 0.6231 GB Notification: Performance of Templates: time 0.0755/0.8461, allocations: 48.97 MB / 0.9185 GB, free: 1.855 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile (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 & ./IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)