Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8256/0.8256, allocations: 128.7 MB / 143.7 MB, free: 2.32 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001099/0.001099, allocations: 194.2 kB / 173.8 MB, free: 6.113 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.811/1.811, allocations: 205.4 MB / 409 MB, free: 10.5 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009841/0.000984, allocations: 88.48 kB / 486.5 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003616/0.0003615, allocations: 8.75 kB / 0.5604 GB, free: 97.45 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.1649, allocations: 76.78 MB / 0.6354 GB, free: 30.46 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.23/5.395, allocations: 2.161 GB / 2.796 GB, free: 216.4 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000322/5.396, allocations: 96.86 kB / 2.797 GB, free: 216.3 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.95/7.345, allocations: 0.6023 GB / 3.399 GB, free: 102.6 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.162e-06/7.345, allocations: 0 / 3.399 GB, free: 102.6 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.305e-05/7.345, allocations: 23.52 kB / 3.399 GB, free: 102.6 MB / 0.6511 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.002564/7.348, allocations: 1.129 MB / 3.4 GB, free: 101.5 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/7.348, allocations: 12.03 kB / 3.4 GB, free: 101.5 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001988/7.348, allocations: 98.52 kB / 3.4 GB, free: 101.4 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008065/7.349, allocations: 170.8 kB / 3.4 GB, free: 101.2 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001096/7.35, allocations: 0.5351 MB / 3.401 GB, free: 100.7 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003192/7.351, allocations: 113.2 kB / 3.401 GB, free: 100.5 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.656e-05/7.351, allocations: 60 kB / 3.401 GB, free: 100.5 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001067/7.352, allocations: 0.7393 MB / 3.402 GB, free: 99.66 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.13e-05/7.352, allocations: 4 kB / 3.402 GB, free: 99.65 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.237e-05/7.352, allocations: 28 kB / 3.402 GB, free: 99.62 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.799e-05/7.352, allocations: 24.5 kB / 3.402 GB, free: 99.61 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008471/7.353, allocations: 463.4 kB / 3.402 GB, free: 99.15 MB / 0.6511 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.003357/7.356, allocations: 3.979 MB / 3.406 GB, free: 94.98 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/7.356, allocations: 85.19 kB / 3.406 GB, free: 94.88 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001461/7.356, allocations: 93.19 kB / 3.406 GB, free: 94.77 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.72e-05/7.356, allocations: 38.56 kB / 3.406 GB, free: 94.72 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=9): time 1.724e-06/7.356, allocations: 0 / 3.406 GB, free: 94.72 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9): time 0.0004704/7.357, allocations: 204.7 kB / 3.406 GB, free: 94.52 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/7.357, allocations: 81.11 kB / 3.406 GB, free: 94.42 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009043/7.358, allocations: 0.7383 MB / 3.407 GB, free: 93.67 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.504e-05/7.358, allocations: 29.7 kB / 3.407 GB, free: 93.64 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002239/7.358, allocations: 396.5 kB / 3.408 GB, free: 93.25 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.614e-05/7.358, allocations: 35.55 kB / 3.408 GB, free: 93.21 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.451e-05/7.358, allocations: 8 kB / 3.408 GB, free: 93.21 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 5.194e-05/7.358, allocations: 322 kB / 3.408 GB, free: 92.89 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002473/7.358, allocations: 119.7 kB / 3.408 GB, free: 92.77 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003243/7.359, allocations: 346.4 kB / 3.408 GB, free: 92.32 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002997/7.359, allocations: 171.2 kB / 3.409 GB, free: 92.16 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/7.359, allocations: 0 / 3.409 GB, free: 92.16 MB / 0.6511 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007925/7.36, allocations: 0.4884 MB / 3.409 GB, free: 91.66 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/7.36, allocations: 8.625 kB / 3.409 GB, free: 91.66 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/7.36, allocations: 4 kB / 3.409 GB, free: 91.65 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/7.36, allocations: 12 kB / 3.409 GB, free: 91.64 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002919/7.36, allocations: 92.67 kB / 3.409 GB, free: 91.55 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.474e-05/7.36, allocations: 19.92 kB / 3.409 GB, free: 91.53 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006452/7.361, allocations: 131.1 kB / 3.409 GB, free: 91.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.4e-05/7.361, allocations: 20 kB / 3.409 GB, free: 91.38 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (42): * Single equations (assignments): 42 * 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.000239/7.361, allocations: 229.6 kB / 3.41 GB, free: 91.15 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/7.361, allocations: 81.75 kB / 3.41 GB, free: 91.07 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001037/7.362, allocations: 66.44 kB / 3.41 GB, free: 91 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/7.362, allocations: 0 / 3.41 GB, free: 91 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/7.362, allocations: 4 kB / 3.41 GB, free: 91 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/7.362, allocations: 3.984 kB / 3.41 GB, free: 91 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001017/7.363, allocations: 0.9366 MB / 3.411 GB, free: 89.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/7.363, allocations: 0 / 3.411 GB, free: 89.98 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.567e-05/7.363, allocations: 19.98 kB / 3.411 GB, free: 89.96 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/7.363, allocations: 288 / 3.411 GB, free: 89.96 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/7.363, allocations: 8 kB / 3.411 GB, free: 89.95 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/7.363, allocations: 4 kB / 3.411 GB, free: 89.95 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/7.363, allocations: 11.88 kB / 3.411 GB, free: 89.93 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000239/7.363, allocations: 344.6 kB / 3.411 GB, free: 89.5 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002122/7.363, allocations: 168.2 kB / 3.411 GB, free: 89.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/7.363, allocations: 7.953 kB / 3.411 GB, free: 89.31 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002862/7.364, allocations: 19.98 kB / 3.411 GB, free: 89.29 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.139e-05/7.364, allocations: 15.98 kB / 3.411 GB, free: 89.28 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/7.364, allocations: 4 kB / 3.411 GB, free: 89.27 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0006739/7.364, allocations: 0.581 MB / 3.412 GB, free: 88.7 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.21e-07/7.364, allocations: 0 / 3.412 GB, free: 88.7 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001067/7.365, allocations: 315.7 kB / 3.412 GB, free: 88.39 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (9): * Single equations (assignments): 9 * 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.002799/7.368, allocations: 3.086 MB / 3.415 GB, free: 85.43 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004767/7.369, allocations: 237.1 kB / 3.415 GB, free: 85.2 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/7.369, allocations: 0 / 3.415 GB, free: 85.2 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.392e-05/7.369, allocations: 39.92 kB / 3.415 GB, free: 85.16 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00142/7.37, allocations: 369.5 kB / 3.416 GB, free: 84.81 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005659/7.376, allocations: 8.3 MB / 3.424 GB, free: 76.29 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003653/7.376, allocations: 0.9528 MB / 3.425 GB, free: 75.3 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0005685/7.377, allocations: 130 kB / 3.425 GB, free: 75.18 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002368/7.377, allocations: 227.4 kB / 3.425 GB, free: 74.96 MB / 0.6511 GB Notification: Performance of SimCode: time 8.32e-07/7.377, allocations: 5.203 kB / 3.425 GB, free: 74.95 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06567/7.443, allocations: 43.68 MB / 3.468 GB, free: 31.6 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001553/7.443, allocations: 248.6 kB / 3.468 GB, free: 31.27 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.238/10.68, allocations: 0 / 3.468 GB, free: 31.27 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1)