Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Examples.MoverContinuous.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.MoverContinuous,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_Examples_MoverContinuous",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.MoverContinuous,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_Examples_MoverContinuous",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.331/2.331, allocations: 390.3 MB / 405.3 MB, free: 13.54 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.001171/0.001172, allocations: 180.3 kB / 498.1 MB, free: 5.801 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.634/1.634, allocations: 223.1 MB / 0.7948 GB, free: 17.98 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009593/0.0009593, allocations: 98.73 kB / 0.9346 GB, free: 6.27 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003757/0.0003757, allocations: 11.03 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.352/0.3524, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.213/1.566, allocations: 441.4 MB / 1.654 GB, free: 3.406 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003443/1.566, allocations: 99.94 kB / 1.654 GB, free: 3.355 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 8.044/9.61, allocations: 2.363 GB / 4.017 GB, free: 91.64 MB / 1.198 GB Notification: Performance of FrontEnd: time 2.435e-06/9.61, allocations: 0 / 4.017 GB, free: 91.64 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.0009919/9.611, allocations: 111.8 kB / 4.017 GB, free: 91.53 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: 489 * Number of variables: 489 Notification: Performance of Generate backend data structure: time 0.02323/9.634, allocations: 7.64 MB / 4.025 GB, free: 83.81 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/9.634, allocations: 12.03 kB / 4.025 GB, free: 83.8 MB / 1.198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001131/9.636, allocations: 274.3 kB / 4.025 GB, free: 83.52 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009788/9.645, allocations: 1.52 MB / 4.027 GB, free: 82 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06352/9.709, allocations: 31.77 MB / 4.058 GB, free: 50.09 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002448/9.709, allocations: 184.5 kB / 4.058 GB, free: 49.91 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009357/9.71, allocations: 230.7 kB / 4.058 GB, free: 49.69 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0071/9.717, allocations: 2.857 MB / 4.061 GB, free: 46.73 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.46e-05/9.717, allocations: 4 kB / 4.061 GB, free: 46.73 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004428/9.718, allocations: 80 kB / 4.061 GB, free: 46.65 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.352e-05/9.718, allocations: 51.92 kB / 4.061 GB, free: 46.6 MB / 1.198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005629/9.724, allocations: 2.2 MB / 4.063 GB, free: 44.4 MB / 1.198 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.02225/9.746, allocations: 13.11 MB / 4.076 GB, free: 30.76 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004582/9.75, allocations: 1.789 MB / 4.078 GB, free: 28.97 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008067/9.759, allocations: 5.202 MB / 4.083 GB, free: 23.45 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/9.759, allocations: 55.44 kB / 4.083 GB, free: 23.38 MB / 1.198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001963/9.761, allocations: 222.1 kB / 4.083 GB, free: 23.16 MB / 1.198 GB Notification: Performance of pre-optimization done (n=88): time 5.049e-06/9.761, allocations: 0 / 4.083 GB, free: 23.16 MB / 1.198 GB Notification: Performance of matching and sorting (n=88): time 0.01137/9.772, allocations: 3.575 MB / 4.086 GB, free: 19.49 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/9.772, allocations: 64.41 kB / 4.086 GB, free: 19.42 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009601/9.782, allocations: 5.016 MB / 4.091 GB, free: 14.42 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.0003248/9.782, allocations: 53.7 kB / 4.091 GB, free: 14.36 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.002022/9.784, allocations: 2.086 MB / 4.093 GB, free: 12.25 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003943/9.784, allocations: 307.5 kB / 4.094 GB, free: 11.95 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001991/9.785, allocations: 35.98 kB / 4.094 GB, free: 11.91 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0001454/9.785, allocations: 385.9 kB / 4.094 GB, free: 11.53 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002181/9.787, allocations: 0.9329 MB / 4.095 GB, free: 10.59 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002546/9.79, allocations: 1.928 MB / 4.097 GB, free: 8.191 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002386/9.792, allocations: 1.117 MB / 4.098 GB, free: 7.074 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.729e-05/9.792, allocations: 8 kB / 4.098 GB, free: 7.066 MB / 1.198 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.007126/9.799, allocations: 3.289 MB / 4.101 GB, free: 3.75 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.005324/9.804, allocations: 13.12 MB / 4.114 GB, free: 5.418 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.082e-05/9.804, allocations: 28 kB / 4.114 GB, free: 5.391 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001419/9.806, allocations: 388.2 kB / 4.114 GB, free: 5.012 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003463/9.809, allocations: 0.5733 MB / 4.115 GB, free: 4.438 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004481/9.814, allocations: 5.255 MB / 4.12 GB, free: 14.99 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003697/9.818, allocations: 223.8 kB / 4.12 GB, free: 14.77 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004537/9.818, allocations: 215.9 kB / 4.121 GB, free: 14.56 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/9.818, allocations: 4 kB / 4.121 GB, free: 14.55 MB / 1.229 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006454/9.825, allocations: 3.004 MB / 4.123 GB, free: 11.54 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-05/9.825, allocations: 28 kB / 4.124 GB, free: 11.51 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001187/9.826, allocations: 389 kB / 4.124 GB, free: 11.13 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002435/9.828, allocations: 0.6163 MB / 4.124 GB, free: 10.51 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00208/9.83, allocations: 2.576 MB / 4.127 GB, free: 7.836 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003564/9.834, allocations: 219.6 kB / 4.127 GB, free: 7.621 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003754/9.834, allocations: 203.9 kB / 4.127 GB, free: 7.422 MB / 1.229 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 126 * 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 (207): * Single equations (assignments): 195 * 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.002745/9.837, allocations: 1.125 MB / 4.129 GB, free: 6.289 MB / 1.229 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001199/9.838, allocations: 418.5 kB / 4.129 GB, free: 5.875 MB / 1.229 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008034/9.846, allocations: 2.829 MB / 4.132 GB, free: 3.059 MB / 1.229 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.53e-05/9.846, allocations: 12 kB / 4.132 GB, free: 3.047 MB / 1.229 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/9.846, allocations: 0 / 4.132 GB, free: 3.047 MB / 1.229 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.536e-05/9.846, allocations: 15.72 kB / 4.132 GB, free: 3.035 MB / 1.229 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 postOpt removeSimpleEquations (simulation): time 0.6952/10.54, allocations: 6.175 MB / 4.138 GB, free: 168.9 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-05/10.54, allocations: 2.109 kB / 4.138 GB, free: 168.9 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001456/10.54, allocations: 258.7 kB / 4.138 GB, free: 168.9 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001228/10.54, allocations: 418.2 kB / 4.138 GB, free: 168.9 MB / 1.229 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001217/10.54, allocations: 43.84 kB / 4.138 GB, free: 168.9 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003028/10.55, allocations: 4.96 MB / 4.143 GB, free: 164.6 MB / 1.229 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/10.55, allocations: 6.844 kB / 4.143 GB, free: 164.6 MB / 1.229 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008223/10.56, allocations: 2.781 MB / 4.146 GB, free: 164.2 MB / 1.229 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003459/10.56, allocations: 0.9238 MB / 4.147 GB, free: 164.1 MB / 1.229 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007593/10.56, allocations: 20.72 kB / 4.147 GB, free: 164.1 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002312/10.56, allocations: 201.2 kB / 4.147 GB, free: 164.1 MB / 1.229 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001816/10.56, allocations: 77.16 kB / 4.147 GB, free: 164.1 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001871/10.56, allocations: 77.33 kB / 4.147 GB, free: 164.1 MB / 1.229 GB Notification: Performance of sorting global known variables: time 0.007908/10.57, allocations: 3.831 MB / 4.151 GB, free: 163.9 MB / 1.229 GB Notification: Performance of sort global known variables: time 1.423e-06/10.57, allocations: 0 / 4.151 GB, free: 163.9 MB / 1.229 GB Notification: Performance of remove unused functions: time 0.008907/10.58, allocations: 1.931 MB / 4.153 GB, free: 163.8 MB / 1.229 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (95): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * 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 4,1 4,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01215/10.59, allocations: 5.459 MB / 4.158 GB, free: 162.1 MB / 1.229 GB Notification: Performance of simCode: created initialization part: time 0.01002/10.6, allocations: 4.014 MB / 4.162 GB, free: 162.1 MB / 1.229 GB Notification: Performance of simCode: created event and clocks part: time 6.792e-06/10.6, allocations: 0 / 4.162 GB, free: 162.1 MB / 1.229 GB Notification: Performance of simCode: created simulation system equations: time 0.002419/10.6, allocations: 0.9844 MB / 4.163 GB, free: 162.1 MB / 1.229 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009559/10.61, allocations: 2.118 MB / 4.165 GB, free: 162.1 MB / 1.229 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02615/10.64, allocations: 29.47 MB / 4.194 GB, free: 138.3 MB / 1.229 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002208/10.64, allocations: 2.602 MB / 4.196 GB, free: 137.5 MB / 1.229 GB Notification: Performance of simCode: alias equations: time 0.006505/10.65, allocations: 1.19 MB / 4.198 GB, free: 137.5 MB / 1.229 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003064/10.65, allocations: 1.853 MB / 4.199 GB, free: 137.5 MB / 1.229 GB Notification: Performance of SimCode: time 8.32e-07/10.65, allocations: 0 / 4.199 GB, free: 137.5 MB / 1.229 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1981/10.85, allocations: 145.8 MB / 4.342 GB, free: 130.9 MB / 1.229 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001387/10.85, allocations: 242.5 kB / 4.342 GB, free: 130.7 MB / 1.229 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.541/18.39, allocations: 0 / 4.342 GB, free: 130.7 MB / 1.229 GB (rm -f Buildings_9_Buildings.Fluid.Movers.Examples.MoverContinuous.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Examples.MoverContinuous.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Examples.MoverContinuous.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Examples.MoverContinuous.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Movers.Examples.MoverContinuous_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Movers_Examples_MoverContinuous_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Movers_Examples_MoverContinuous.fmu > Buildings_9_Buildings.Fluid.Movers.Examples.MoverContinuous.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Movers.Examples.MoverContinuous_res.mat does not exist to compare? outputFormat=mat