Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8844/0.8844, allocations: 141.8 MB / 149.3 MB, free: 9.227 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001405/0.001405, allocations: 180.9 kB / 182.2 MB, free: 9.441 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.48/1.48, allocations: 221.5 MB / 436.4 MB, free: 13.37 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008895/0.0008895, allocations: 94.27 kB / 0.5074 GB, free: 10.2 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001718/0.001718, allocations: 284.6 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.68e-05/1.681e-05, allocations: 4 kB / 0.6766 GB, free: 12.75 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4123/0.4123, allocations: 82.77 MB / 0.7575 GB, free: 31.92 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.948/5.36, allocations: 1.89 GB / 2.647 GB, free: 168.4 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003467/5.36, allocations: 87.55 kB / 2.647 GB, free: 168.4 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.278/9.638, allocations: 1.147 GB / 3.794 GB, free: 90.35 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.583e-06/9.638, allocations: 0 / 3.794 GB, free: 90.35 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.448e-05/9.638, allocations: 30.42 kB / 3.794 GB, free: 90.32 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 225 * Number of variables: 225 Notification: Performance of Generate backend data structure: time 0.003182/9.642, allocations: 1.515 MB / 3.796 GB, free: 88.82 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/9.642, allocations: 12.03 kB / 3.796 GB, free: 88.8 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001912/9.644, allocations: 413.8 kB / 3.796 GB, free: 88.41 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002333/9.646, allocations: 1.169 MB / 3.797 GB, free: 87.24 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009191/9.647, allocations: 238.3 kB / 3.798 GB, free: 87.02 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001014/9.647, allocations: 55.95 kB / 3.798 GB, free: 86.97 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001064/9.648, allocations: 0.6209 MB / 3.798 GB, free: 86.35 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001353/9.649, allocations: 0.966 MB / 3.799 GB, free: 85.28 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.453e-05/9.649, allocations: 10.67 kB / 3.799 GB, free: 85.27 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.136e-05/9.649, allocations: 4 kB / 3.799 GB, free: 85.27 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.133e-05/9.65, allocations: 33.3 kB / 3.799 GB, free: 85.24 MB / 0.7136 GB Warning: The model contains alias variables with conflicting start and/or 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.005345/9.655, allocations: 5.407 MB / 3.805 GB, free: 79.66 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003339/9.655, allocations: 242.5 kB / 3.805 GB, free: 79.37 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001566/9.655, allocations: 136.9 kB / 3.805 GB, free: 79.23 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001777/9.656, allocations: 97.09 kB / 3.805 GB, free: 79.11 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/9.656, allocations: 45.94 kB / 3.805 GB, free: 79.06 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006459/9.656, allocations: 94.67 kB / 3.805 GB, free: 78.98 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=20): time 3.116e-06/9.656, allocations: 0 / 3.805 GB, free: 78.98 MB / 0.7136 GB Notification: Performance of matching and sorting (n=20): time 0.0006583/9.657, allocations: 299.9 kB / 3.806 GB, free: 78.68 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.019e-05/9.657, allocations: 191.4 kB / 3.806 GB, free: 78.45 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008003/9.658, allocations: 0.7357 MB / 3.806 GB, free: 77.7 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.137e-05/9.658, allocations: 29.7 kB / 3.806 GB, free: 77.66 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003317/9.658, allocations: 0.6264 MB / 3.807 GB, free: 77.03 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.651e-05/9.658, allocations: 75 kB / 3.807 GB, free: 76.95 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.563e-05/9.658, allocations: 0 / 3.807 GB, free: 76.95 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.387e-05/9.658, allocations: 325.9 kB / 3.807 GB, free: 76.63 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001881/9.659, allocations: 136.1 kB / 3.808 GB, free: 76.5 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003477/9.659, allocations: 452 kB / 3.808 GB, free: 75.91 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003875/9.659, allocations: 224.3 kB / 3.808 GB, free: 75.71 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/9.659, allocations: 3.938 kB / 3.808 GB, free: 75.7 MB / 0.7136 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0008724/9.66, allocations: 0.593 MB / 3.809 GB, free: 75.11 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/9.66, allocations: 8 kB / 3.809 GB, free: 75.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/9.66, allocations: 8 kB / 3.809 GB, free: 75.1 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.406e-05/9.66, allocations: 16 kB / 3.809 GB, free: 75.08 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006743/9.661, allocations: 178.5 kB / 3.809 GB, free: 74.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.556e-05/9.661, allocations: 15.94 kB / 3.809 GB, free: 74.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001166/9.662, allocations: 193.5 kB / 3.809 GB, free: 74.72 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.376e-05/9.662, allocations: 35.98 kB / 3.809 GB, free: 74.68 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 63 * 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.0001194/9.662, allocations: 136.7 kB / 3.809 GB, free: 74.54 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004209/9.663, allocations: 284.3 kB / 3.81 GB, free: 74.26 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001665/9.663, allocations: 98.86 kB / 3.81 GB, free: 74.16 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003824/9.663, allocations: 235.7 kB / 3.81 GB, free: 73.92 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/9.663, allocations: 8.125 kB / 3.81 GB, free: 73.91 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/9.663, allocations: 7.984 kB / 3.81 GB, free: 73.91 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/9.663, allocations: 4 kB / 3.81 GB, free: 73.9 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001706/9.665, allocations: 1.485 MB / 3.811 GB, free: 72.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/9.665, allocations: 4 kB / 3.811 GB, free: 72.34 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002046/9.665, allocations: 47.92 kB / 3.811 GB, free: 72.29 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.121e-06/9.665, allocations: 4.375 kB / 3.811 GB, free: 72.29 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.803e-05/9.665, allocations: 8 kB / 3.811 GB, free: 72.28 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/9.665, allocations: 11.22 kB / 3.811 GB, free: 72.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/9.665, allocations: 4 kB / 3.811 GB, free: 72.27 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004226/9.666, allocations: 0.5771 MB / 3.812 GB, free: 71.57 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002152/9.666, allocations: 211.8 kB / 3.812 GB, free: 71.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/9.666, allocations: 11.94 kB / 3.812 GB, free: 71.33 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005928/9.667, allocations: 67.94 kB / 3.812 GB, free: 71.27 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.068e-05/9.667, allocations: 23.92 kB / 3.812 GB, free: 71.24 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.684e-05/9.667, allocations: 8 kB / 3.812 GB, free: 71.23 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0005826/9.667, allocations: 0.5604 MB / 3.813 GB, free: 70.66 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/9.667, allocations: 0 / 3.813 GB, free: 70.66 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001447/9.669, allocations: 447 kB / 3.813 GB, free: 70.23 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.003964/9.673, allocations: 4.445 MB / 3.818 GB, free: 65.86 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0005095/9.673, allocations: 314.1 kB / 3.818 GB, free: 65.55 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/9.673, allocations: 0 / 3.818 GB, free: 65.55 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001086/9.674, allocations: 87.83 kB / 3.818 GB, free: 65.46 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001833/9.675, allocations: 417.6 kB / 3.818 GB, free: 65.07 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002931/9.678, allocations: 1.41 MB / 3.82 GB, free: 63.57 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005924/9.679, allocations: 1.14 MB / 3.821 GB, free: 62.41 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0007416/9.68, allocations: 186.9 kB / 3.821 GB, free: 62.23 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004219/9.68, allocations: 391.3 kB / 3.821 GB, free: 61.84 MB / 0.7136 GB Notification: Performance of SimCode: time 7.81e-07/9.68, allocations: 0 / 3.821 GB, free: 61.84 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07236/9.752, allocations: 37.93 MB / 3.859 GB, free: 24.32 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001926/9.753, allocations: 211.9 kB / 3.859 GB, free: 24.03 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.51/13.26, allocations: 7.938 kB / 3.859 GB, free: 24.02 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MoistureMixingConservationSteadyState.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MoistureMixingConservationSteadyState.pipe 2>&1)