Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",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.004605/0.004605, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001271/0.001271, allocations: 197.5 kB / 16.67 MB, free: 5.934 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.404/1.404, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002481/0.002481, allocations: 290.4 kB / 290.8 MB, free: 1.926 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.985/0.985, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002949/0.002949, allocations: 96.08 kB / 0.681 GB, free: 15.99 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1721/0.175, allocations: 86.97 MB / 0.7659 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.5509/0.7259, allocations: 187.1 MB / 0.9486 GB, free: 7.984 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.01597/0.7419, allocations: 13.04 MB / 0.9614 GB, free: 10.91 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001119/0.7431, allocations: 31.81 kB / 0.9614 GB, free: 10.88 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001428/0.7445, allocations: 413.3 kB / 0.9618 GB, free: 10.47 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002509/0.7471, allocations: 0.9136 MB / 0.9627 GB, free: 9.555 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002123/0.7493, allocations: 0.722 MB / 0.9634 GB, free: 8.84 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002343/0.7516, allocations: 1.506 MB / 0.9648 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001167/0.7528, allocations: 0.6526 MB / 0.9655 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00413/0.7569, allocations: 1.716 MB / 0.9672 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001511/0.7585, allocations: 0.4992 MB / 0.9676 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001505/0.7586, allocations: 56 kB / 0.9677 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001841/0.7605, allocations: 0.877 MB / 0.9686 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003736/0.7609, allocations: 283.1 kB / 0.9688 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005929/0.7615, allocations: 386 kB / 0.9692 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002049/0.7635, allocations: 1.177 MB / 0.9703 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.7635, allocations: 4 kB / 0.9703 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.623e-06/0.7635, allocations: 0 / 0.9703 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.199e-05/0.7636, allocations: 0 / 0.9703 GB, free: 1.68 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001887/0.7655, allocations: 1.077 MB / 0.9714 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.7655, allocations: 12.03 kB / 0.9714 GB, free: 0.5352 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001376/0.7657, allocations: 102.5 kB / 0.9715 GB, free: 436 kB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009993/0.7667, allocations: 199.2 kB / 0.9717 GB, free: 236 kB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00102/0.7677, allocations: 0.5563 MB / 0.9722 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.698e-05/0.7678, allocations: 41.31 kB / 0.9723 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.254e-05/0.7679, allocations: 63.98 kB / 0.9723 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001214/0.7691, allocations: 0.7711 MB / 0.9731 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.883e-05/0.7691, allocations: 3.938 kB / 0.9731 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.928e-05/0.7692, allocations: 27.94 kB / 0.9731 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.478e-05/0.7692, allocations: 21 kB / 0.9731 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009322/0.7702, allocations: 463.3 kB / 0.9736 GB, free: 14.15 MB / 0.7325 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.004436/0.7746, allocations: 4.379 MB / 0.9779 GB, free: 9.547 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001543/0.7748, allocations: 106.4 kB / 0.978 GB, free: 9.406 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001154/0.7749, allocations: 75.5 kB / 0.978 GB, free: 9.32 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001895/0.7751, allocations: 97.03 kB / 0.9781 GB, free: 9.207 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/0.7751, allocations: 42.5 kB / 0.9782 GB, free: 9.156 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.953e-06/0.7751, allocations: 0 / 0.9782 GB, free: 9.156 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.000711/0.7759, allocations: 249.3 kB / 0.9784 GB, free: 8.906 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.698e-05/0.776, allocations: 136.5 kB / 0.9785 GB, free: 8.742 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001182/0.7771, allocations: 0.845 MB / 0.9794 GB, free: 7.887 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.167e-05/0.7772, allocations: 29.7 kB / 0.9794 GB, free: 7.852 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003486/0.7775, allocations: 407.7 kB / 0.9798 GB, free: 7.449 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.891e-05/0.7776, allocations: 39.69 kB / 0.9798 GB, free: 7.41 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001474/0.7777, allocations: 89.97 kB / 0.9799 GB, free: 7.316 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001725/0.7779, allocations: 329.8 kB / 0.9802 GB, free: 6.988 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002817/0.7782, allocations: 112.7 kB / 0.9803 GB, free: 6.879 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005297/0.7787, allocations: 362 kB / 0.9807 GB, free: 6.41 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006565/0.7794, allocations: 441.5 kB / 0.9811 GB, free: 5.871 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.418e-06/0.7794, allocations: 4 kB / 0.9811 GB, free: 5.867 MB / 0.7325 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001011/0.7804, allocations: 0.4968 MB / 0.9816 GB, free: 5.367 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.817e-05/0.7805, allocations: 12 kB / 0.9816 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.7805, allocations: 7.938 kB / 0.9816 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.651e-05/0.7805, allocations: 12 kB / 0.9816 GB, free: 5.336 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003258/0.7809, allocations: 91.89 kB / 0.9817 GB, free: 5.246 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.796e-05/0.7809, allocations: 16.31 kB / 0.9817 GB, free: 5.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006981/0.7816, allocations: 119.3 kB / 0.9818 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.527e-05/0.7817, allocations: 23.94 kB / 0.9819 GB, free: 5.09 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (46): * Single equations (assignments): 46 * 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.0003118/0.782, allocations: 234.3 kB / 0.9821 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000178/0.7822, allocations: 83.47 kB / 0.9822 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001185/0.7823, allocations: 66.19 kB / 0.9822 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.7823, allocations: 0 / 0.9822 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.878e-06/0.7823, allocations: 3.984 kB / 0.9822 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.7823, allocations: 4 kB / 0.9822 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001511/0.7838, allocations: 1.128 MB / 0.9833 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.7839, allocations: 4 kB / 0.9833 GB, free: 3.473 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.159e-05/0.7839, allocations: 16 kB / 0.9833 GB, free: 3.457 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.015e-06/0.784, allocations: 4.312 kB / 0.9834 GB, free: 3.453 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.784, allocations: 4 kB / 0.9834 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.869e-06/0.784, allocations: 11.92 kB / 0.9834 GB, free: 3.438 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.784, allocations: 7.938 kB / 0.9834 GB, free: 3.43 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000316/0.7843, allocations: 260.2 kB / 0.9836 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002292/0.7846, allocations: 176.5 kB / 0.9838 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.47e-05/0.7847, allocations: 4 kB / 0.9838 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003219/0.785, allocations: 23.97 kB / 0.9838 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.271e-05/0.785, allocations: 15.88 kB / 0.9838 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.785, allocations: 4 kB / 0.9838 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008545/0.7859, allocations: 0.5927 MB / 0.9844 GB, free: 2.301 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7859, allocations: 0 / 0.9844 GB, free: 2.301 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007051/0.7866, allocations: 151.8 kB / 0.9846 GB, free: 2.152 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (10): * Single equations (assignments): 10 * 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 Backend phase and start with SimCode phase: time 0.001091/0.7877, allocations: 0.8988 MB / 0.9854 GB, free: 1.219 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005338/0.7883, allocations: 249.2 kB / 0.9857 GB, free: 0.9766 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.7883, allocations: 0 / 0.9857 GB, free: 0.9766 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.22e-05/0.7883, allocations: 47.86 kB / 0.9857 GB, free: 0.9297 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001585/0.7899, allocations: 390 kB / 0.9861 GB, free: 0.5625 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007882/0.7978, allocations: 5.47 MB / 0.9914 GB, free: 10.74 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000623/0.7985, allocations: 0.9331 MB / 0.9923 GB, free: 9.777 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0004971/0.799, allocations: 150.1 kB / 0.9925 GB, free: 9.629 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002952/0.7993, allocations: 231.4 kB / 0.9927 GB, free: 9.402 MB / 0.7481 GB Notification: Performance of SimCode: time 4.51e-07/0.7993, allocations: 0 / 0.9927 GB, free: 9.402 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04711/0.8464, allocations: 17.99 MB / 1.01 GB, free: 7.836 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.608/9.454, allocations: 22.53 kB / 1.01 GB, free: 7.82 MB / 0.7637 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1)