Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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: "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="IBPSA_latest_IBPSA_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.0006902/0.0006902, allocations: 92.7 kB / 15.7 MB, free: 472 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007951/0.0007951, allocations: 175 kB / 16.58 MB, free: 6.066 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.192/1.192, allocations: 223.2 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6094/0.6094, allocations: 113.7 MB / 405.4 MB, free: 4.602 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002741/0.0002742, allocations: 12 kB / 493.1 MB, free: 8.551 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1214, allocations: 77.12 MB / 0.5569 GB, free: 11.64 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.3794/0.5009, allocations: 170.2 MB / 0.7231 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01216/0.5131, allocations: 12.07 MB / 0.7349 GB, free: 4.527 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006143/0.5137, allocations: 27.81 kB / 0.7349 GB, free: 4.5 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000916/0.5147, allocations: 278.1 kB / 0.7352 GB, free: 4.227 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001349/0.516, allocations: 0.7114 MB / 0.7359 GB, free: 3.512 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001159/0.5172, allocations: 0.5572 MB / 0.7364 GB, free: 2.961 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001473/0.5187, allocations: 1.789 MB / 0.7381 GB, free: 1.168 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000549/0.5192, allocations: 498.8 kB / 0.7386 GB, free: 0.6641 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002136/0.5214, allocations: 1.28 MB / 0.7399 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005278/0.5219, allocations: 478 kB / 0.7403 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.575e-05/0.522, allocations: 31.94 kB / 0.7404 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009066/0.5229, allocations: 0.5925 MB / 0.7409 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002051/0.5231, allocations: 247.2 kB / 0.7412 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001219/0.5233, allocations: 169.3 kB / 0.7413 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006917/0.524, allocations: 0.8185 MB / 0.7421 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.524, allocations: 0 / 0.7421 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.132e-06/0.524, allocations: 0 / 0.7421 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.124e-06/0.524, allocations: 0 / 0.7421 GB, free: 13.05 MB / 0.5606 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.0009803/0.525, allocations: 0.9199 MB / 0.743 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/0.525, allocations: 16.03 kB / 0.743 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.931e-05/0.5251, allocations: 109.9 kB / 0.7431 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007541/0.5259, allocations: 194.9 kB / 0.7433 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005932/0.5265, allocations: 0.5055 MB / 0.7438 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002799/0.5268, allocations: 117.2 kB / 0.7439 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.754e-05/0.5268, allocations: 56 kB / 0.744 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009483/0.5278, allocations: 0.7602 MB / 0.7447 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.5278, allocations: 3.938 kB / 0.7447 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.47e-05/0.5278, allocations: 28 kB / 0.7448 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.699e-05/0.5279, allocations: 24.98 kB / 0.7448 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007703/0.5287, allocations: 479.3 kB / 0.7452 GB, free: 9.668 MB / 0.5606 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.002866/0.5315, allocations: 4.17 MB / 0.7493 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.761e-05/0.5316, allocations: 106.3 kB / 0.7494 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.389e-05/0.5317, allocations: 75.58 kB / 0.7495 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001283/0.5319, allocations: 101.1 kB / 0.7496 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/0.5319, allocations: 30.56 kB / 0.7496 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 2.394e-06/0.5319, allocations: 3.984 kB / 0.7496 GB, free: 4.898 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0005192/0.5324, allocations: 240.8 kB / 0.7499 GB, free: 4.656 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.644e-05/0.5325, allocations: 136.5 kB / 0.75 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000909/0.5334, allocations: 0.8329 MB / 0.7508 GB, free: 3.652 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.5334, allocations: 29.7 kB / 0.7508 GB, free: 3.617 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002372/0.5337, allocations: 402.9 kB / 0.7512 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.65e-05/0.5337, allocations: 39.55 kB / 0.7512 GB, free: 3.18 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.351e-05/0.5337, allocations: 4 kB / 0.7512 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.816e-05/0.5338, allocations: 325.9 kB / 0.7516 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000234/0.534, allocations: 115.9 kB / 0.7517 GB, free: 2.738 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003497/0.5344, allocations: 349.9 kB / 0.752 GB, free: 2.289 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002807/0.5347, allocations: 163.9 kB / 0.7522 GB, free: 2.129 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-06/0.5347, allocations: 4 kB / 0.7522 GB, free: 2.125 MB / 0.5606 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007413/0.5355, allocations: 496.7 kB / 0.7526 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.5355, allocations: 8 kB / 0.7526 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.5355, allocations: 12.06 kB / 0.7527 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.5355, allocations: 8 kB / 0.7527 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002684/0.5358, allocations: 95.83 kB / 0.7528 GB, free: 1.512 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/0.5358, allocations: 11.94 kB / 0.7528 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005359/0.5363, allocations: 131.2 kB / 0.7529 GB, free: 1.371 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.086e-05/0.5364, allocations: 23.98 kB / 0.7529 GB, free: 1.348 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001966/0.5366, allocations: 229.6 kB / 0.7531 GB, free: 1.113 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001261/0.5367, allocations: 75.06 kB / 0.7532 GB, free: 1.039 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.248e-05/0.5368, allocations: 74.09 kB / 0.7533 GB, free: 0.9648 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.5368, allocations: 0 / 0.7533 GB, free: 0.9648 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.5368, allocations: 4 kB / 0.7533 GB, free: 0.9609 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.211e-06/0.5368, allocations: 4 kB / 0.7533 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001033/0.5379, allocations: 1.129 MB / 0.7544 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-06/0.5379, allocations: 0 / 0.7544 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.183e-05/0.538, allocations: 19.94 kB / 0.7544 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.538, allocations: 4 kB / 0.7544 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.538, allocations: 11.95 kB / 0.7544 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.538, allocations: 11.19 kB / 0.7544 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.538, allocations: 0 / 0.7544 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002235/0.5382, allocations: 264.3 kB / 0.7547 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000158/0.5384, allocations: 172.1 kB / 0.7548 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.871e-05/0.5385, allocations: 4 kB / 0.7549 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002798/0.5388, allocations: 27.92 kB / 0.7549 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.095e-05/0.5388, allocations: 19.94 kB / 0.7549 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.623e-06/0.5388, allocations: 4 kB / 0.7549 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006619/0.5395, allocations: 0.581 MB / 0.7555 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5395, allocations: 0 / 0.7555 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004456/0.5399, allocations: 155.8 kB / 0.7556 GB, free: 14.42 MB / 0.5762 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006646/0.5406, allocations: 0.8862 MB / 0.7565 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004204/0.541, allocations: 229 kB / 0.7567 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.5411, allocations: 4 kB / 0.7567 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 6.039e-05/0.5411, allocations: 44.67 kB / 0.7567 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001294/0.5424, allocations: 357 kB / 0.7571 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004483/0.5469, allocations: 3.871 MB / 0.7609 GB, free: 8.832 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003781/0.5473, allocations: 0.9411 MB / 0.7618 GB, free: 7.863 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004064/0.5477, allocations: 142.4 kB / 0.7619 GB, free: 7.723 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002309/0.548, allocations: 227.4 kB / 0.7621 GB, free: 7.5 MB / 0.5762 GB Notification: Performance of SimCode: time 2.61e-07/0.548, allocations: 3.938 kB / 0.7621 GB, free: 7.496 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02806/0.576, allocations: 17.28 MB / 0.779 GB, free: 6.609 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001641/0.5762, allocations: 247.3 kB / 0.7793 GB, free: 6.281 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.753/2.329, allocations: 0 / 0.7793 GB, free: 6.281 MB / 0.5919 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) Environment - environmentSimulation: