Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.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.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox") translateModel(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 113.7 kB / 16.42 MB, free: 6.441 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.00143/0.00143, allocations: 187.9 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.289/1.289, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7821/0.7821, allocations: 135.1 MB / 426.3 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 66.45 kB / 0.5863 GB, free: 21.91 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.1558, allocations: 80.92 MB / 0.6653 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.538/0.6939, allocations: 189.7 MB / 0.8505 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.007851/0.7018, allocations: 4.279 MB / 0.8547 GB, free: 10.4 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001532/0.7033, allocations: 29.16 kB / 0.8548 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001732/0.7051, allocations: 0.5128 MB / 0.8553 GB, free: 9.961 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004787/0.7099, allocations: 1.628 MB / 0.8568 GB, free: 8.691 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003793/0.7137, allocations: 1.353 MB / 0.8582 GB, free: 7.711 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003631/0.7174, allocations: 2.266 MB / 0.8604 GB, free: 6.383 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001985/0.7194, allocations: 1.08 MB / 0.8614 GB, free: 5.664 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002314/0.7217, allocations: 0.9712 MB / 0.8624 GB, free: 5.09 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001738/0.7234, allocations: 0.8661 MB / 0.8632 GB, free: 4.52 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.000572/0.724, allocations: 139 kB / 0.8634 GB, free: 4.473 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003195/0.7272, allocations: 1.255 MB / 0.8646 GB, free: 3.215 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0007739/0.728, allocations: 426.7 kB / 0.865 GB, free: 2.797 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001417/0.7295, allocations: 0.6492 MB / 0.8656 GB, free: 2.145 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0036/0.7331, allocations: 1.994 MB / 0.8676 GB, free: 148 kB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.7331, allocations: 0 / 0.8676 GB, free: 148 kB / 0.6231 GB Notification: Performance of FrontEnd: time 1.653e-06/0.7331, allocations: 0 / 0.8676 GB, free: 148 kB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.34e-05/0.7332, allocations: 0 / 0.8676 GB, free: 148 kB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.005744/0.7389, allocations: 1.716 MB / 0.8693 GB, free: 14.37 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/0.739, allocations: 9.109 kB / 0.8693 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001097/0.7401, allocations: 186.4 kB / 0.8694 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002341/0.7424, allocations: 1.072 MB / 0.8705 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.091e-05/0.7425, allocations: 44.94 kB / 0.8705 GB, free: 13.01 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001404/0.7427, allocations: 64 kB / 0.8706 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001314/0.744, allocations: 0.6076 MB / 0.8712 GB, free: 12.33 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.786e-05/0.744, allocations: 3.938 kB / 0.8712 GB, free: 12.33 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.992e-05/0.7441, allocations: 20 kB / 0.8712 GB, free: 12.31 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.997e-05/0.7441, allocations: 24.98 kB / 0.8712 GB, free: 12.29 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001375/0.7455, allocations: 0.6207 MB / 0.8718 GB, free: 11.66 MB / 0.6387 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.005061/0.7506, allocations: 2.654 MB / 0.8744 GB, free: 8.867 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001136/0.7517, allocations: 0.5436 MB / 0.875 GB, free: 8.316 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006232/0.7524, allocations: 348.7 kB / 0.8753 GB, free: 7.973 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004005/0.7528, allocations: 287.3 kB / 0.8756 GB, free: 7.637 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.552e-05/0.7528, allocations: 40.81 kB / 0.8756 GB, free: 7.59 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007308/0.7536, allocations: 147.4 kB / 0.8757 GB, free: 7.445 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=43): time 4.298e-06/0.7536, allocations: 0 / 0.8757 GB, free: 7.445 MB / 0.6387 GB Notification: Performance of matching and sorting (n=43): time 0.002487/0.7561, allocations: 1.016 MB / 0.8767 GB, free: 6.422 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.57e-05/0.7561, allocations: 55.41 kB / 0.8768 GB, free: 6.355 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002333/0.7585, allocations: 1.279 MB / 0.878 GB, free: 5.059 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 8.713e-05/0.7586, allocations: 37.7 kB / 0.8781 GB, free: 5.016 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003882/0.759, allocations: 437.7 kB / 0.8785 GB, free: 4.582 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001612/0.7591, allocations: 153.8 kB / 0.8786 GB, free: 4.43 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002183/0.7593, allocations: 110 kB / 0.8787 GB, free: 4.316 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.7595, allocations: 322 kB / 0.879 GB, free: 3.996 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005842/0.7601, allocations: 274.2 kB / 0.8793 GB, free: 3.727 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008092/0.7609, allocations: 482.1 kB / 0.8798 GB, free: 3.18 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001193/0.7621, allocations: 0.5947 MB / 0.8804 GB, free: 2.582 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.7621, allocations: 0 / 0.8804 GB, free: 2.582 MB / 0.6387 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001633/0.7637, allocations: 0.7417 MB / 0.8811 GB, free: 1.832 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.7638, allocations: 4 kB / 0.8811 GB, free: 1.828 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.7638, allocations: 7.938 kB / 0.8811 GB, free: 1.82 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.7638, allocations: 0 / 0.8811 GB, free: 1.82 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006866/0.7645, allocations: 119.8 kB / 0.8812 GB, free: 1.703 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.459e-05/0.7645, allocations: 0 / 0.8812 GB, free: 1.703 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001335/0.7659, allocations: 96.97 kB / 0.8813 GB, free: 1.609 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.207e-05/0.766, allocations: 24.59 kB / 0.8813 GB, free: 1.586 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008633/0.7668, allocations: 467.9 kB / 0.8818 GB, free: 1.125 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007704/0.7676, allocations: 489.9 kB / 0.8822 GB, free: 0.5664 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001176/0.7688, allocations: 0.5915 MB / 0.8828 GB, free: 15.97 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.445e-06/0.7688, allocations: 0 / 0.8828 GB, free: 15.97 MB / 0.6544 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001675/0.7705, allocations: 0.7375 MB / 0.8835 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.7705, allocations: 4 kB / 0.8835 GB, free: 15.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.7705, allocations: 2.188 kB / 0.8835 GB, free: 15.22 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.7705, allocations: 4 kB / 0.8835 GB, free: 15.22 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006284/0.7712, allocations: 115.8 kB / 0.8836 GB, free: 15.11 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.7712, allocations: 7.938 kB / 0.8837 GB, free: 15.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001493/0.7727, allocations: 133.1 kB / 0.8838 GB, free: 14.97 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.229e-05/0.7728, allocations: 19.98 kB / 0.8838 GB, free: 14.95 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (45): * Single equations (assignments): 45 * 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.0002296/0.773, allocations: 212.1 kB / 0.884 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002927/0.7733, allocations: 106.7 kB / 0.8841 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001838/0.7751, allocations: 0.8007 MB / 0.8849 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.337e-06/0.7752, allocations: 3.984 kB / 0.8849 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.7752, allocations: 0 / 0.8849 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006093/0.7758, allocations: 283.7 kB / 0.8852 GB, free: 13.53 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002201/0.776, allocations: 8 kB / 0.8852 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001045/0.7771, allocations: 64.91 kB / 0.8852 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/0.7772, allocations: 40.33 kB / 0.8853 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001619/0.7788, allocations: 0.761 MB / 0.886 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002141/0.781, allocations: 1.259 MB / 0.8872 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000587/0.7816, allocations: 307.3 kB / 0.8875 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001688/0.7833, allocations: 0.9287 MB / 0.8884 GB, free: 10.13 MB / 0.6544 GB Notification: Performance of Backend: time 2.695e-06/0.7833, allocations: 0 / 0.8884 GB, free: 10.13 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003149/0.7864, allocations: 1.002 MB / 0.8894 GB, free: 9.133 MB / 0.6544 GB Notification: Performance of SimCode: time 0.004076/0.7905, allocations: 2.201 MB / 0.8916 GB, free: 6.879 MB / 0.6544 GB Notification: Performance of Templates: time 0.04124/0.8318, allocations: 25.03 MB / 0.916 GB, free: 14.06 MB / 0.6856 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)