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.001076/0.001076, allocations: 103.9 kB / 16.27 MB, free: 6.047 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.001739/0.001739, allocations: 182.7 kB / 17.19 MB, free: 5.688 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.403/1.403, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7369/0.7369, allocations: 122.9 MB / 413.9 MB, free: 15.94 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 59.91 kB / 0.4912 GB, free: 7.383 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2981/0.2995, allocations: 77.93 MB / 0.5673 GB, free: 32.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.4379/0.7375, allocations: 187.1 MB / 0.75 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01286/0.7504, allocations: 13.02 MB / 0.7627 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008747/0.7513, allocations: 29.25 kB / 0.7627 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001025/0.7523, allocations: 413.3 kB / 0.7631 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001803/0.7541, allocations: 0.9269 MB / 0.764 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001643/0.7558, allocations: 0.7022 MB / 0.7647 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001662/0.7575, allocations: 1.499 MB / 0.7662 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009058/0.7584, allocations: 0.6559 MB / 0.7668 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003346/0.7617, allocations: 1.719 MB / 0.7685 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001111/0.7629, allocations: 0.5007 MB / 0.769 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000111/0.763, allocations: 52.66 kB / 0.769 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001501/0.7645, allocations: 0.8735 MB / 0.7699 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002597/0.7648, allocations: 276.3 kB / 0.7701 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004022/0.7652, allocations: 387.9 kB / 0.7705 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001338/0.7665, allocations: 1.151 MB / 0.7716 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.7665, allocations: 1.125 kB / 0.7716 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.182e-06/0.7665, allocations: 0.9375 kB / 0.7716 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.079e-05/0.7666, allocations: 0 / 0.7716 GB, free: 1.512 MB / 0.5762 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.001376/0.7679, allocations: 1.049 MB / 0.7726 GB, free: 16.86 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.768, allocations: 10.22 kB / 0.7727 GB, free: 16.86 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001049/0.7681, allocations: 103.9 kB / 0.7728 GB, free: 16.82 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009004/0.769, allocations: 189.4 kB / 0.7729 GB, free: 16.78 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007106/0.7697, allocations: 0.5212 MB / 0.7734 GB, free: 16.5 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003501/0.7701, allocations: 106.9 kB / 0.7736 GB, free: 16.5 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.276e-05/0.7702, allocations: 62.33 kB / 0.7736 GB, free: 16.5 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001039/0.7712, allocations: 0.7807 MB / 0.7744 GB, free: 16.19 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.842e-05/0.7712, allocations: 8.438 kB / 0.7744 GB, free: 16.19 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.971e-05/0.7713, allocations: 28.97 kB / 0.7744 GB, free: 16.18 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.619e-05/0.7713, allocations: 22.31 kB / 0.7744 GB, free: 16.18 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009281/0.7723, allocations: 469.8 kB / 0.7749 GB, free: 16.18 MB / 0.5919 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.003492/0.7758, allocations: 4.404 MB / 0.7792 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001034/0.7759, allocations: 112.2 kB / 0.7793 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.958e-05/0.776, allocations: 72.91 kB / 0.7794 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000162/0.7762, allocations: 93.28 kB / 0.7794 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.7762, allocations: 41.28 kB / 0.7795 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=10): time 1.573e-06/0.7762, allocations: 0 / 0.7795 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10): time 0.0006337/0.7768, allocations: 245.8 kB / 0.7797 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.039e-05/0.7769, allocations: 133.4 kB / 0.7798 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001029/0.778, allocations: 0.8443 MB / 0.7807 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.313e-05/0.778, allocations: 30.28 kB / 0.7807 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002402/0.7782, allocations: 407.8 kB / 0.7811 GB, free: 12 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.056e-05/0.7783, allocations: 37.94 kB / 0.7811 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001191/0.7784, allocations: 95.97 kB / 0.7812 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.899e-05/0.7785, allocations: 320 kB / 0.7815 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002823/0.7788, allocations: 114.7 kB / 0.7816 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004434/0.7792, allocations: 373.6 kB / 0.782 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005559/0.7798, allocations: 447.3 kB / 0.7824 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.7798, allocations: 4.438 kB / 0.7824 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009047/0.7807, allocations: 0.5023 MB / 0.7829 GB, free: 11 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.7808, allocations: 11.38 kB / 0.7829 GB, free: 11 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.7808, allocations: 8.547 kB / 0.7829 GB, free: 11 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.36e-05/0.7808, allocations: 14.25 kB / 0.7829 GB, free: 11 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003232/0.7811, allocations: 98.14 kB / 0.783 GB, free: 11 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.55e-05/0.7812, allocations: 17.77 kB / 0.783 GB, free: 11 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007625/0.7819, allocations: 123.3 kB / 0.7832 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.776e-05/0.782, allocations: 28.56 kB / 0.7832 GB, free: 10.95 MB / 0.5919 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.0002549/0.7822, allocations: 231.7 kB / 0.7834 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001494/0.7824, allocations: 69.09 kB / 0.7835 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.815e-05/0.7825, allocations: 77.23 kB / 0.7836 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.7825, allocations: 0 / 0.7836 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/0.7825, allocations: 3.062 kB / 0.7836 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.7825, allocations: 1.094 kB / 0.7836 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00119/0.7837, allocations: 1.121 MB / 0.7847 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.175e-06/0.7837, allocations: 2.344 kB / 0.7847 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.149e-05/0.7838, allocations: 26.88 kB / 0.7847 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.7838, allocations: 3.031 kB / 0.7847 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.7839, allocations: 3.594 kB / 0.7847 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.7839, allocations: 5.969 kB / 0.7847 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.7839, allocations: 5.344 kB / 0.7847 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002589/0.7841, allocations: 269.5 kB / 0.785 GB, free: 9.918 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001824/0.7843, allocations: 177.7 kB / 0.7851 GB, free: 9.781 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.71e-05/0.7844, allocations: 3.109 kB / 0.7851 GB, free: 9.781 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003407/0.7848, allocations: 21.03 kB / 0.7851 GB, free: 9.781 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.52e-05/0.7848, allocations: 17.47 kB / 0.7852 GB, free: 9.777 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.7848, allocations: 5.656 kB / 0.7852 GB, free: 9.777 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007179/0.7856, allocations: 0.5921 MB / 0.7857 GB, free: 9.688 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2e-07/0.7856, allocations: 0 / 0.7857 GB, free: 9.688 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000572/0.7861, allocations: 155 kB / 0.7859 GB, free: 9.676 MB / 0.5919 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.0007793/0.7869, allocations: 0.8861 MB / 0.7868 GB, free: 8.969 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004839/0.7874, allocations: 248.1 kB / 0.787 GB, free: 8.969 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.7874, allocations: 0.9375 kB / 0.787 GB, free: 8.969 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 5.638e-05/0.7875, allocations: 49.75 kB / 0.787 GB, free: 8.969 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001535/0.789, allocations: 377.4 kB / 0.7874 GB, free: 8.93 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006454/0.7955, allocations: 5.731 MB / 0.793 GB, free: 6.32 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004427/0.796, allocations: 0.9399 MB / 0.7939 GB, free: 5.609 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0005414/0.7965, allocations: 151.3 kB / 0.7941 GB, free: 5.574 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002177/0.7967, allocations: 231.4 kB / 0.7943 GB, free: 5.566 MB / 0.5919 GB Notification: Performance of SimCode: time 3.31e-07/0.7968, allocations: 0 / 0.7943 GB, free: 5.566 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4266/1.223, allocations: 17.83 MB / 0.8117 GB, free: 0.9258 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.781/10, allocations: 0 / 0.8117 GB, free: 0.9258 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/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)