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.001413/0.001413, allocations: 110.3 kB / 16.41 MB, free: 6.477 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.001425/0.001425, allocations: 192.3 kB / 17.35 MB, free: 5.711 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.455/1.455, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8214/0.8214, allocations: 135.1 MB / 426.4 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001634/0.001634, allocations: 62.78 kB / 0.5863 GB, free: 21.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.206/0.2076, allocations: 80.92 MB / 0.6653 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.9016/1.109, allocations: 189.7 MB / 0.8506 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.008762/1.118, allocations: 4.273 MB / 0.8547 GB, free: 10.42 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001722/1.12, allocations: 26.94 kB / 0.8548 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001799/1.122, allocations: 0.5184 MB / 0.8553 GB, free: 9.973 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004787/1.126, allocations: 1.623 MB / 0.8568 GB, free: 8.707 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003951/1.13, allocations: 1.355 MB / 0.8582 GB, free: 7.727 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003906/1.134, allocations: 2.274 MB / 0.8604 GB, free: 6.391 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002169/1.137, allocations: 1.073 MB / 0.8614 GB, free: 5.68 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002258/1.139, allocations: 0.9717 MB / 0.8624 GB, free: 5.105 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001758/1.141, allocations: 0.8741 MB / 0.8632 GB, free: 4.527 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0006379/1.141, allocations: 139.5 kB / 0.8634 GB, free: 4.406 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00318/1.144, allocations: 1.259 MB / 0.8646 GB, free: 3.145 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0008317/1.145, allocations: 418.8 kB / 0.865 GB, free: 2.734 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001633/1.147, allocations: 0.6492 MB / 0.8656 GB, free: 2.082 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004114/1.151, allocations: 1.989 MB / 0.8676 GB, free: 88 kB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/1.151, allocations: 0 / 0.8676 GB, free: 88 kB / 0.6231 GB Notification: Performance of FrontEnd: time 3.476e-06/1.151, allocations: 0 / 0.8676 GB, free: 88 kB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.382e-05/1.151, allocations: 3.938 kB / 0.8676 GB, free: 84 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.006654/1.158, allocations: 1.754 MB / 0.8693 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/1.158, allocations: 13.05 kB / 0.8693 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001265/1.159, allocations: 195.1 kB / 0.8695 GB, free: 14.06 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003056/1.162, allocations: 1.081 MB / 0.8705 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.048e-05/1.162, allocations: 44.94 kB / 0.8706 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001886/1.162, allocations: 64 kB / 0.8706 GB, free: 12.82 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001547/1.164, allocations: 0.6153 MB / 0.8713 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/1.164, allocations: 0 / 0.8713 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.898e-05/1.164, allocations: 20 kB / 0.8713 GB, free: 12.18 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.241e-05/1.164, allocations: 21 kB / 0.8713 GB, free: 12.16 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001534/1.166, allocations: 0.6246 MB / 0.8719 GB, free: 11.54 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.006056/1.172, allocations: 2.666 MB / 0.8745 GB, free: 8.73 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001319/1.173, allocations: 0.5354 MB / 0.875 GB, free: 8.188 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007828/1.174, allocations: 353.3 kB / 0.8754 GB, free: 7.84 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004994/1.174, allocations: 287.3 kB / 0.8756 GB, free: 7.504 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.869e-05/1.174, allocations: 38.56 kB / 0.8757 GB, free: 7.457 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008336/1.175, allocations: 147.6 kB / 0.8758 GB, free: 7.312 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=43): time 5.901e-06/1.175, allocations: 0 / 0.8758 GB, free: 7.312 MB / 0.6387 GB Notification: Performance of matching and sorting (n=43): time 0.002833/1.178, allocations: 1.028 MB / 0.8768 GB, free: 6.277 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.195e-05/1.178, allocations: 55.41 kB / 0.8769 GB, free: 6.211 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002563/1.181, allocations: 1.271 MB / 0.8781 GB, free: 4.922 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 9.304e-05/1.181, allocations: 37.7 kB / 0.8781 GB, free: 4.879 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004127/1.181, allocations: 438 kB / 0.8786 GB, free: 4.445 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001699/1.182, allocations: 162.6 kB / 0.8787 GB, free: 4.285 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002566/1.182, allocations: 114 kB / 0.8788 GB, free: 4.168 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001521/1.182, allocations: 322 kB / 0.8791 GB, free: 3.848 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005975/1.183, allocations: 270.2 kB / 0.8794 GB, free: 3.582 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009924/1.184, allocations: 490 kB / 0.8799 GB, free: 3.027 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001243/1.185, allocations: 0.5908 MB / 0.8804 GB, free: 2.434 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/1.185, allocations: 0 / 0.8804 GB, free: 2.434 MB / 0.6387 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001786/1.187, allocations: 0.7423 MB / 0.8812 GB, free: 1.684 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/1.187, allocations: 8 kB / 0.8812 GB, free: 1.676 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/1.187, allocations: 4 kB / 0.8812 GB, free: 1.672 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/1.187, allocations: 0 / 0.8812 GB, free: 1.672 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00066/1.187, allocations: 127.7 kB / 0.8813 GB, free: 1.547 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/1.187, allocations: 1.328 kB / 0.8813 GB, free: 1.547 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001288/1.189, allocations: 95.81 kB / 0.8814 GB, free: 1.453 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.833e-05/1.189, allocations: 27.97 kB / 0.8814 GB, free: 1.426 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001056/1.19, allocations: 463.9 kB / 0.8819 GB, free: 0.9688 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000801/1.191, allocations: 486 kB / 0.8823 GB, free: 424 kB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001185/1.192, allocations: 0.5915 MB / 0.8829 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.937e-06/1.192, allocations: 1.562 kB / 0.8829 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.00179/1.194, allocations: 0.7458 MB / 0.8836 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/1.194, allocations: 4 kB / 0.8836 GB, free: 15.06 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.808e-06/1.194, allocations: 0.875 kB / 0.8836 GB, free: 15.06 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.143e-06/1.194, allocations: 4 kB / 0.8836 GB, free: 15.06 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006284/1.194, allocations: 115.8 kB / 0.8837 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/1.194, allocations: 4 kB / 0.8838 GB, free: 14.94 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0014/1.196, allocations: 132.2 kB / 0.8839 GB, free: 14.81 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.21e-05/1.196, allocations: 19.98 kB / 0.8839 GB, free: 14.79 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.0002638/1.196, allocations: 208.1 kB / 0.8841 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002867/1.196, allocations: 111.3 kB / 0.8842 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001841/1.198, allocations: 0.8085 MB / 0.885 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.799e-06/1.198, allocations: 7.922 kB / 0.885 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/1.198, allocations: 1.375 kB / 0.885 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005458/1.199, allocations: 288.3 kB / 0.8853 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002255/1.199, allocations: 8 kB / 0.8853 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001039/1.2, allocations: 67.91 kB / 0.8853 GB, free: 13.28 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/1.2, allocations: 36.33 kB / 0.8854 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001789/1.202, allocations: 0.7572 MB / 0.8861 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002198/1.204, allocations: 1.268 MB / 0.8874 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006067/1.205, allocations: 311.3 kB / 0.8877 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001742/1.207, allocations: 0.9209 MB / 0.8886 GB, free: 9.961 MB / 0.6544 GB Notification: Performance of Backend: time 5.71e-07/1.207, allocations: 0 / 0.8886 GB, free: 9.961 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003038/1.21, allocations: 1.006 MB / 0.8895 GB, free: 8.957 MB / 0.6544 GB Notification: Performance of SimCode: time 0.003888/1.214, allocations: 2.233 MB / 0.8917 GB, free: 6.676 MB / 0.6544 GB Notification: Performance of Templates: time 0.04602/1.26, allocations: 25.02 MB / 0.9162 GB, free: 13.86 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)