Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Examples.MoverStages.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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) 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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.MoverStages,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_Examples_MoverStages",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.MoverStages,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_Examples_MoverStages",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.219/2.219, allocations: 387.4 MB / 394.9 MB, free: 13.4 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 180.8 kB / 487.4 MB, free: 5.051 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.673/1.673, allocations: 221.5 MB / 0.7824 GB, free: 0.9961 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 91.86 kB / 0.9219 GB, free: 2.23 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.847e-05/1.836e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2642/0.2643, allocations: 142.4 MB / 1.206 GB, free: 43.87 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.285/1.55, allocations: 444.6 MB / 1.64 GB, free: 9.73 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002555/1.55, allocations: 92.75 kB / 1.64 GB, free: 9.688 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 9.506/11.06, allocations: 2.348 GB / 3.988 GB, free: 149.7 MB / 1.198 GB Notification: Performance of FrontEnd: time 2.154e-06/11.06, allocations: 0 / 3.988 GB, free: 149.7 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.000926/11.06, allocations: 114.8 kB / 3.988 GB, free: 149.7 MB / 1.198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 517 * Number of variables: 517 Notification: Performance of Generate backend data structure: time 0.0144/11.07, allocations: 4.04 MB / 3.992 GB, free: 148.3 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 6.142e-05/11.07, allocations: 7.5 kB / 3.992 GB, free: 148.3 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01138/11.08, allocations: 1.545 MB / 3.994 GB, free: 148 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0704/11.15, allocations: 31.67 MB / 4.025 GB, free: 146.4 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002991/11.15, allocations: 67.84 kB / 4.025 GB, free: 146.4 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00148/11.16, allocations: 142.1 kB / 4.025 GB, free: 146.4 MB / 1.198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006476/11.16, allocations: 2.297 MB / 4.027 GB, free: 146.4 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007189/11.17, allocations: 2.541 MB / 4.03 GB, free: 146.1 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.782e-05/11.17, allocations: 1.125 kB / 4.03 GB, free: 146.1 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006972/11.17, allocations: 7.156 kB / 4.03 GB, free: 146.1 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.096e-05/11.17, allocations: 54.72 kB / 4.03 GB, free: 146.1 MB / 1.198 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.03288/11.2, allocations: 13.04 MB / 4.042 GB, free: 141.5 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004598/11.21, allocations: 2.225 MB / 4.045 GB, free: 141.5 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001616/11.21, allocations: 0.9355 MB / 4.045 GB, free: 141.5 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0116/11.22, allocations: 5.24 MB / 4.051 GB, free: 139.6 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001977/11.22, allocations: 1.131 MB / 4.052 GB, free: 139.5 MB / 1.198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003212/11.23, allocations: 172.8 kB / 4.052 GB, free: 139.4 MB / 1.198 GB Notification: Performance of pre-optimization done (n=92): time 9.268e-06/11.23, allocations: 0 / 4.052 GB, free: 139.4 MB / 1.198 GB Notification: Performance of matching and sorting (n=92): time 0.01009/11.24, allocations: 2.813 MB / 4.055 GB, free: 139.1 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.753e-05/11.24, allocations: 114.8 kB / 4.055 GB, free: 139 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01247/11.25, allocations: 4.752 MB / 4.059 GB, free: 138.6 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.0008071/11.25, allocations: 32.61 kB / 4.059 GB, free: 138.6 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.003221/11.25, allocations: 2.158 MB / 4.061 GB, free: 138.1 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.000916/11.25, allocations: 306.3 kB / 4.062 GB, free: 137.9 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005848/11.25, allocations: 0 / 4.062 GB, free: 137.9 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0002877/11.26, allocations: 383.5 kB / 4.062 GB, free: 137.6 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002228/11.26, allocations: 1.062 MB / 4.063 GB, free: 137.6 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002772/11.26, allocations: 2.109 MB / 4.065 GB, free: 136.3 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004266/11.26, allocations: 1.485 MB / 4.067 GB, free: 136.2 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.04e-05/11.26, allocations: 14.28 kB / 4.067 GB, free: 136.2 MB / 1.198 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.009514/11.27, allocations: 3.629 MB / 4.07 GB, free: 135.9 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.00342/11.28, allocations: 13.6 MB / 4.083 GB, free: 121.4 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-05/11.28, allocations: 34.19 kB / 4.084 GB, free: 121.4 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008817/11.28, allocations: 329.4 kB / 4.084 GB, free: 121.4 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00349/11.28, allocations: 0.5799 MB / 4.084 GB, free: 121.4 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004616/11.29, allocations: 6.015 MB / 4.09 GB, free: 117 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005793/11.29, allocations: 184.5 kB / 4.09 GB, free: 116.9 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000973/11.29, allocations: 214.5 kB / 4.091 GB, free: 116.9 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/11.29, allocations: 7.625 kB / 4.091 GB, free: 116.9 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008151/11.3, allocations: 2.723 MB / 4.093 GB, free: 116.9 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000115/11.3, allocations: 28.94 kB / 4.093 GB, free: 116.9 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007204/11.3, allocations: 341.6 kB / 4.094 GB, free: 116.8 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00251/11.31, allocations: 0.6221 MB / 4.094 GB, free: 116.8 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001871/11.31, allocations: 2.571 MB / 4.097 GB, free: 114.8 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00449/11.31, allocations: 173.5 kB / 4.097 GB, free: 114.8 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007205/11.31, allocations: 206.4 kB / 4.097 GB, free: 114.8 MB / 1.198 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump_Nrpm.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump_dp.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump_y.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump_m_flow.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 131 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.integerTable.combiTimeTable.nextTimeEvent,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,$PRE.integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (217): * Single equations (assignments): 205 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.001526/11.31, allocations: 198.5 kB / 4.097 GB, free: 114.6 MB / 1.198 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008251/11.32, allocations: 2.108 MB / 4.099 GB, free: 114.3 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001762/11.32, allocations: 416.1 kB / 4.1 GB, free: 114.1 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00751/11.33, allocations: 2.629 MB / 4.102 GB, free: 113.9 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.904e-05/11.33, allocations: 19.25 kB / 4.102 GB, free: 113.9 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/11.33, allocations: 1.188 kB / 4.102 GB, free: 113.9 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.658e-05/11.33, allocations: 8.672 kB / 4.102 GB, free: 113.9 MB / 1.198 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 postOpt removeSimpleEquations (simulation): time 0.01636/11.35, allocations: 5.805 MB / 4.108 GB, free: 113.4 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.267e-05/11.35, allocations: 0 / 4.108 GB, free: 113.4 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001416/11.35, allocations: 258 kB / 4.108 GB, free: 113.4 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008185/11.35, allocations: 360.9 kB / 4.109 GB, free: 113.4 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001646/11.35, allocations: 33.11 kB / 4.109 GB, free: 113.4 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003428/11.35, allocations: 4.985 MB / 4.114 GB, free: 109.1 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.21e-05/11.35, allocations: 1.5 kB / 4.114 GB, free: 109.1 MB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00725/11.36, allocations: 2.468 MB / 4.116 GB, free: 108.4 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004335/11.37, allocations: 0.926 MB / 4.117 GB, free: 108.1 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002652/11.37, allocations: 8.922 kB / 4.117 GB, free: 108.1 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004322/11.37, allocations: 182.8 kB / 4.117 GB, free: 108.1 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002958/11.37, allocations: 85.66 kB / 4.117 GB, free: 108.1 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002967/11.37, allocations: 82.72 kB / 4.117 GB, free: 108.1 MB / 1.198 GB Notification: Performance of sorting global known variables: time 0.008994/11.38, allocations: 3.542 MB / 4.121 GB, free: 107.9 MB / 1.198 GB Notification: Performance of sort global known variables: time 6.71e-07/11.38, allocations: 0 / 4.121 GB, free: 107.9 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.0121/11.39, allocations: 1.936 MB / 4.123 GB, free: 107.6 MB / 1.198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {1 4,1 4,1 1,1 4,1 4,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01159/11.41, allocations: 5.351 MB / 4.128 GB, free: 105.8 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.008375/11.41, allocations: 4.047 MB / 4.132 GB, free: 105.8 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 7.064e-06/11.41, allocations: 0 / 4.132 GB, free: 105.8 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.001589/11.42, allocations: 0.8402 MB / 4.133 GB, free: 105.7 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01043/11.43, allocations: 1.96 MB / 4.134 GB, free: 105.7 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02561/11.45, allocations: 6.645 MB / 4.141 GB, free: 104.1 MB / 1.198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003952/11.46, allocations: 2.71 MB / 4.144 GB, free: 103.3 MB / 1.198 GB Notification: Performance of simCode: alias equations: time 0.01097/11.47, allocations: 2.171 MB / 4.146 GB, free: 103.3 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003496/11.47, allocations: 1.813 MB / 4.148 GB, free: 103.3 MB / 1.198 GB Notification: Performance of SimCode: time 3.166e-06/11.47, allocations: 0 / 4.148 GB, free: 103.3 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2307/11.7, allocations: 136 MB / 4.28 GB, free: 96.05 MB / 1.198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001731/11.7, allocations: 166.2 kB / 4.281 GB, free: 95.86 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.217/18.92, allocations: 3.938 kB / 4.281 GB, free: 95.85 MB / 1.198 GB (rm -f Buildings_9_Buildings.Fluid.Movers.Examples.MoverStages.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Examples.MoverStages.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Examples.MoverStages.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Examples.MoverStages.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Movers.Examples.MoverStages_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Movers_Examples_MoverStages_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Movers_Examples_MoverStages.fmu > Buildings_9_Buildings.Fluid.Movers.Examples.MoverStages.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Movers.Examples.MoverStages_res.mat does not exist to compare? outputFormat=mat