Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00265/0.00265, allocations: 359 kB / 16.59 MB, free: 5.566 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.533/1.533, allocations: 165.8 MB / 183.1 MB, free: 5.496 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.222/4.222, allocations: 410.7 MB / 0.6001 GB, free: 15.18 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001798/0.001798, allocations: 200.3 kB / 0.6668 GB, free: 6.941 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006681/0.0006683, allocations: 12 kB / 0.7429 GB, free: 8.973 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5097/0.5104, allocations: 67.44 MB / 0.8087 GB, free: 28.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor): time 0.02791/0.5384, allocations: 21.54 MB / 0.8298 GB, free: 7.188 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02186/0.5603, allocations: 8.958 MB / 0.8385 GB, free: 14.21 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001802/0.5622, allocations: 35.69 kB / 0.8386 GB, free: 14.18 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002597/0.5648, allocations: 453.4 kB / 0.839 GB, free: 13.73 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006239/0.5711, allocations: 1.092 MB / 0.8401 GB, free: 12.64 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01394/0.5851, allocations: 2.527 MB / 0.8425 GB, free: 10.15 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.005328/0.5904, allocations: 2.148 MB / 0.8446 GB, free: 7.992 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00191/0.5924, allocations: 0.5689 MB / 0.8452 GB, free: 7.41 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00258/0.595, allocations: 0.665 MB / 0.8458 GB, free: 6.742 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001992/0.597, allocations: 0.6263 MB / 0.8464 GB, free: 6.113 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000232/0.5973, allocations: 32 kB / 0.8465 GB, free: 6.082 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003515/0.6008, allocations: 0.8692 MB / 0.8473 GB, free: 5.211 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003669/0.6012, allocations: 167.3 kB / 0.8475 GB, free: 5.047 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005053/0.6018, allocations: 197.1 kB / 0.8477 GB, free: 4.848 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002885/0.6047, allocations: 1.017 MB / 0.8487 GB, free: 3.828 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.386e-06/0.6047, allocations: 4 kB / 0.8487 GB, free: 3.824 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.115e-06/0.6047, allocations: 0 / 0.8487 GB, free: 3.824 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.878e-05/0.6048, allocations: 0 / 0.8487 GB, free: 3.824 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.004257/0.6091, allocations: 1.243 MB / 0.8499 GB, free: 2.52 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.023e-05/0.6091, allocations: 8.031 kB / 0.8499 GB, free: 2.512 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003667/0.6095, allocations: 110.7 kB / 0.85 GB, free: 2.402 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002183/0.6117, allocations: 0.6329 MB / 0.8506 GB, free: 1.73 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.624e-05/0.6118, allocations: 53.31 kB / 0.8507 GB, free: 1.68 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002024/0.6121, allocations: 63.95 kB / 0.8507 GB, free: 1.617 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002248/0.6143, allocations: 0.6624 MB / 0.8514 GB, free: 0.9141 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.618e-05/0.6144, allocations: 7.938 kB / 0.8514 GB, free: 0.9062 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001079/0.6145, allocations: 20 kB / 0.8514 GB, free: 0.8867 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.844e-05/0.6146, allocations: 16 kB / 0.8514 GB, free: 0.8711 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001898/0.6165, allocations: 452.9 kB / 0.8518 GB, free: 440 kB / 394.7 MB 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.01611/0.6326, allocations: 2.546 MB / 0.8543 GB, free: 13.75 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001878/0.6346, allocations: 365 kB / 0.8547 GB, free: 13.39 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009207/0.6355, allocations: 196.8 kB / 0.8549 GB, free: 13.19 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005484/0.6361, allocations: 344.4 kB / 0.8552 GB, free: 12.78 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001302/0.6374, allocations: 325.2 kB / 0.8555 GB, free: 12.43 MB / 410.7 MB Notification: Performance of pre-optimization done (n=37): time 4.909e-06/0.6375, allocations: 0 / 0.8555 GB, free: 12.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=37): time 0.003226/0.6407, allocations: 0.7098 MB / 0.8562 GB, free: 11.71 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000176/0.641, allocations: 235.3 kB / 0.8564 GB, free: 11.43 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002316/0.6433, allocations: 0.8282 MB / 0.8572 GB, free: 10.57 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001978/0.6435, allocations: 37.7 kB / 0.8573 GB, free: 10.53 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006997/0.6443, allocations: 444.3 kB / 0.8577 GB, free: 10.09 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002521/0.6445, allocations: 118.3 kB / 0.8578 GB, free: 9.973 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.648e-05/0.6446, allocations: 12 kB / 0.8578 GB, free: 9.961 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001991/0.6448, allocations: 334 kB / 0.8581 GB, free: 9.629 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009871/0.6458, allocations: 197.1 kB / 0.8583 GB, free: 9.438 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001239/0.6471, allocations: 363.6 kB / 0.8587 GB, free: 9.02 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001128/0.6483, allocations: 259.7 kB / 0.8589 GB, free: 8.758 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.745e-06/0.6483, allocations: 4 kB / 0.8589 GB, free: 8.754 MB / 410.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003211/0.6515, allocations: 0.7293 MB / 0.8596 GB, free: 8.008 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002522/0.6518, allocations: 198.2 kB / 0.8598 GB, free: 7.766 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.729e-05/0.6519, allocations: 4 kB / 0.8598 GB, free: 7.762 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.987e-05/0.6519, allocations: 4 kB / 0.8598 GB, free: 7.758 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002647/0.6546, allocations: 188.3 kB / 0.86 GB, free: 7.574 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001908/0.6565, allocations: 1.778 MB / 0.8617 GB, free: 5.727 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001805/0.6584, allocations: 107.3 kB / 0.8618 GB, free: 5.621 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001861/0.6586, allocations: 27.98 kB / 0.8619 GB, free: 5.594 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.6586, allocations: 8.031 kB / 0.8619 GB, free: 5.586 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002718/0.6614, allocations: 0.6424 MB / 0.8625 GB, free: 4.941 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.824e-05/0.6615, allocations: 4 kB / 0.8625 GB, free: 4.938 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.6615, allocations: 4 kB / 0.8625 GB, free: 4.934 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001383/0.6629, allocations: 132.1 kB / 0.8626 GB, free: 4.805 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.904e-05/0.6629, allocations: 11.98 kB / 0.8627 GB, free: 4.793 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001673/0.6646, allocations: 111.3 kB / 0.8628 GB, free: 4.684 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001307/0.6648, allocations: 24 kB / 0.8628 GB, free: 4.66 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,ySet.a,ySet.b,ySet.last,$PRE.ySet.nextEvent,ySet.nextEvent,ySet.nextEventScaled,$PRE.mot.uppHys.y,mot.uppHys.y,$PRE.mot.lowHys.y,mot.lowHys.y,mot.int.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008991/0.6657, allocations: 339.5 kB / 0.8631 GB, free: 4.312 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003068/0.666, allocations: 90.88 kB / 0.8632 GB, free: 4.223 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003001/0.669, allocations: 0.6831 MB / 0.8639 GB, free: 3.527 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.39e-05/0.6691, allocations: 0 / 0.8639 GB, free: 3.527 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/0.6691, allocations: 0 / 0.8639 GB, free: 3.527 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007205/0.6698, allocations: 227.7 kB / 0.8641 GB, free: 3.285 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002709/0.6701, allocations: 11.94 kB / 0.8641 GB, free: 3.273 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001238/0.6714, allocations: 55.95 kB / 0.8641 GB, free: 3.219 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002076/0.6716, allocations: 43.92 kB / 0.8642 GB, free: 3.176 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00367/0.6753, allocations: 0.9709 MB / 0.8651 GB, free: 2.168 MB / 410.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003787/0.6792, allocations: 1.198 MB / 0.8663 GB, free: 0.9453 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009914/0.6802, allocations: 248.4 kB / 0.8665 GB, free: 0.7031 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001658/0.6819, allocations: 0.5588 MB / 0.8671 GB, free: 136 kB / 410.7 MB Notification: Performance of Backend: time 1.052e-06/0.6819, allocations: 0 / 0.8671 GB, free: 136 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007287/0.6892, allocations: 1.188 MB / 0.8682 GB, free: 14.93 MB / 426.7 MB Notification: Performance of SimCode: time 0.008082/0.6974, allocations: 2.335 MB / 0.8705 GB, free: 12.53 MB / 426.7 MB Notification: Performance of Templates: time 0.06734/0.7648, allocations: 17.24 MB / 0.8874 GB, free: 11.46 MB / 442.7 MB