Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.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.FixedResistances.Validation.PressureDropsExplicitLinearized,fileNamePrefix="Buildings_9_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,fileNamePrefix="Buildings_9_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized",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.515/2.515, allocations: 387.1 MB / 399.7 MB, free: 9.473 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.001001/0.001001, allocations: 179.8 kB / 492.3 MB, free: 0.6016 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.68/1.68, allocations: 221.3 MB / 0.7871 GB, free: 12.94 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.0008928/0.0008927, allocations: 102.7 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.65e-05/3.663e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.324/0.3241, allocations: 142.3 MB / 1.212 GB, free: 38.44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.636/5.96, allocations: 1.873 GB / 3.085 GB, free: 357.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002381/5.96, allocations: 85.77 kB / 3.085 GB, free: 357.9 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 7.039/13, allocations: 2.09 GB / 5.175 GB, free: 52.46 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.272e-06/13, allocations: 4 kB / 5.175 GB, free: 52.46 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001487/13, allocations: 39.98 kB / 5.175 GB, free: 52.42 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.00383/13, allocations: 1.648 MB / 5.177 GB, free: 50.73 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/13, allocations: 8.031 kB / 5.177 GB, free: 50.72 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002348/13, allocations: 126.7 kB / 5.177 GB, free: 50.59 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008698/13.01, allocations: 198.1 kB / 5.177 GB, free: 50.39 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001988/13.01, allocations: 0.9344 MB / 5.178 GB, free: 49.4 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000124/13.01, allocations: 125.4 kB / 5.178 GB, free: 49.27 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001211/13.01, allocations: 95.98 kB / 5.178 GB, free: 49.18 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001141/13.01, allocations: 0.8629 MB / 5.179 GB, free: 48.22 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.054e-05/13.01, allocations: 7.938 kB / 5.179 GB, free: 48.21 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.51e-05/13.01, allocations: 32 kB / 5.179 GB, free: 48.18 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.456e-05/13.01, allocations: 20 kB / 5.179 GB, free: 48.16 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006457/13.01, allocations: 463.5 kB / 5.18 GB, free: 47.71 MB / 1.167 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.003769/13.01, allocations: 4.849 MB / 5.184 GB, free: 42.55 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003836/13.01, allocations: 396.6 kB / 5.185 GB, free: 42.04 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002244/13.01, allocations: 247.9 kB / 5.185 GB, free: 41.75 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001615/13.01, allocations: 105.1 kB / 5.185 GB, free: 41.63 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/13.01, allocations: 50.5 kB / 5.185 GB, free: 41.57 MB / 1.167 GB Notification: Performance of pre-optimization done (n=31): time 2.474e-06/13.01, allocations: 0 / 5.185 GB, free: 41.57 MB / 1.167 GB Notification: Performance of matching and sorting (n=31): time 0.001006/13.01, allocations: 456.6 kB / 5.186 GB, free: 41.11 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.336e-05/13.02, allocations: 401.5 kB / 5.186 GB, free: 40.63 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001205/13.02, allocations: 1.087 MB / 5.187 GB, free: 39.54 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 5.731e-05/13.02, allocations: 41.64 kB / 5.187 GB, free: 39.49 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003257/13.02, allocations: 0.553 MB / 5.188 GB, free: 38.93 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 6.178e-05/13.02, allocations: 106.6 kB / 5.188 GB, free: 38.82 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.105e-05/13.02, allocations: 8 kB / 5.188 GB, free: 38.81 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 5.185e-05/13.02, allocations: 318 kB / 5.188 GB, free: 38.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001082/13.02, allocations: 79.97 kB / 5.188 GB, free: 38.42 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002526/13.02, allocations: 344.6 kB / 5.188 GB, free: 37.96 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001566/13.02, allocations: 125.7 kB / 5.189 GB, free: 37.84 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/13.02, allocations: 8 kB / 5.189 GB, free: 37.84 MB / 1.167 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005952/13.02, allocations: 457.2 kB / 5.189 GB, free: 37.38 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/13.02, allocations: 12.28 kB / 5.189 GB, free: 37.36 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/13.02, allocations: 8 kB / 5.189 GB, free: 37.36 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000225/13.02, allocations: 72.62 kB / 5.189 GB, free: 37.28 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001969/13.02, allocations: 55.91 kB / 5.189 GB, free: 37.23 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001696/13.02, allocations: 2.9 MB / 5.192 GB, free: 34.05 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008433/13.02, allocations: 123.1 kB / 5.192 GB, free: 33.93 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.917e-05/13.02, allocations: 27.98 kB / 5.192 GB, free: 33.91 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00011/13.02, allocations: 138.3 kB / 5.192 GB, free: 33.77 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003535/13.02, allocations: 138.4 kB / 5.192 GB, free: 33.63 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001635/13.02, allocations: 128.1 kB / 5.193 GB, free: 33.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/13.02, allocations: 8 kB / 5.193 GB, free: 33.49 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/13.02, allocations: 4 kB / 5.193 GB, free: 33.49 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/13.02, allocations: 4 kB / 5.193 GB, free: 33.48 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002437/13.02, allocations: 2.477 MB / 5.195 GB, free: 30.86 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/13.02, allocations: 8 kB / 5.195 GB, free: 30.86 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001513/13.02, allocations: 51.91 kB / 5.195 GB, free: 30.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001439/13.02, allocations: 69.98 kB / 5.195 GB, free: 30.73 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.996e-05/13.02, allocations: 15.95 kB / 5.195 GB, free: 30.71 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001539/13.03, allocations: 2.892 MB / 5.198 GB, free: 27.55 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/13.03, allocations: 4.125 kB / 5.198 GB, free: 27.55 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006635/13.03, allocations: 0.9627 MB / 5.199 GB, free: 26.34 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004272/13.03, allocations: 251.3 kB / 5.199 GB, free: 26.07 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001777/13.03, allocations: 12 kB / 5.199 GB, free: 26.06 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007514/13.03, allocations: 67.92 kB / 5.199 GB, free: 25.99 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.412e-05/13.03, allocations: 43.58 kB / 5.199 GB, free: 25.95 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.476e-05/13.03, allocations: 19.98 kB / 5.199 GB, free: 25.93 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0009178/13.03, allocations: 0.8516 MB / 5.2 GB, free: 25.08 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.41e-07/13.03, allocations: 0 / 5.2 GB, free: 25.08 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002462/13.03, allocations: 0.613 MB / 5.201 GB, free: 24.47 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005397/13.04, allocations: 6.372 MB / 5.207 GB, free: 17.52 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0006913/13.04, allocations: 481.6 kB / 5.207 GB, free: 17.03 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/13.04, allocations: 8.125 kB / 5.207 GB, free: 17.02 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003588/13.04, allocations: 378.3 kB / 5.208 GB, free: 16.62 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003398/13.04, allocations: 0.7618 MB / 5.208 GB, free: 15.87 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002561/13.04, allocations: 1.604 MB / 5.21 GB, free: 14.16 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005003/13.04, allocations: 1.16 MB / 5.211 GB, free: 12.97 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0008684/13.05, allocations: 234.4 kB / 5.211 GB, free: 12.74 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004157/13.05, allocations: 439.3 kB / 5.212 GB, free: 12.31 MB / 1.167 GB Notification: Performance of SimCode: time 1.202e-06/13.05, allocations: 0 / 5.212 GB, free: 12.31 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8511/13.9, allocations: 89.31 MB / 5.299 GB, free: 173.3 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001636/13.9, allocations: 240.5 kB / 5.299 GB, free: 173 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.299/19.2, allocations: 0 / 5.299 GB, free: 173 MB / 1.182 GB (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.fmu > Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.mat does not exist to compare? outputFormat=mat