Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.conf.json 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/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries,fileNamePrefix="Buildings_9_Buildings_Fluid_FixedResistances_Validation_PressureDropsSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries,fileNamePrefix="Buildings_9_Buildings_Fluid_FixedResistances_Validation_PressureDropsSeries",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001256/0.00126, allocations: 98.77 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001316/0.001317, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 223.2 MB / 239.9 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.361/2.361, allocations: 390.3 MB / 0.6653 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003642/0.0003642, allocations: 8 kB / 0.8146 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7761/0.7765, allocations: 142.3 MB / 0.9536 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries): time 0.159/0.9356, allocations: 135.6 MB / 1.086 GB, free: 8.207 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002979/0.9386, allocations: 1.626 MB / 1.088 GB, free: 6.578 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004313/0.9391, allocations: 11.88 kB / 1.088 GB, free: 6.566 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0007756/0.9399, allocations: 175.2 kB / 1.088 GB, free: 6.395 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001856/0.9417, allocations: 0.4908 MB / 1.088 GB, free: 5.902 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001385/0.9431, allocations: 442 kB / 1.089 GB, free: 5.477 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001945/0.9451, allocations: 1.444 MB / 1.09 GB, free: 4.027 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001206/0.9463, allocations: 0.7033 MB / 1.091 GB, free: 3.312 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001407/0.9477, allocations: 0.6656 MB / 1.091 GB, free: 2.645 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009294/0.9487, allocations: 481.9 kB / 1.092 GB, free: 2.172 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001856/0.9489, allocations: 36 kB / 1.092 GB, free: 2.137 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001261/0.9501, allocations: 407.4 kB / 1.092 GB, free: 1.738 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0003465/0.9505, allocations: 255.1 kB / 1.093 GB, free: 1.488 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0004184/0.9509, allocations: 233.1 kB / 1.093 GB, free: 1.254 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001158/0.9521, allocations: 0.9469 MB / 1.094 GB, free: 312 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.9521, allocations: 0 / 1.094 GB, free: 312 kB / 0.8419 GB Notification: Performance of FrontEnd: time 2.315e-06/0.9521, allocations: 4 kB / 1.094 GB, free: 308 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.251e-05/0.9521, allocations: 0 / 1.094 GB, free: 308 kB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.002035/0.9542, allocations: 1.206 MB / 1.095 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.233e-05/0.9542, allocations: 12.03 kB / 1.095 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001254/0.9544, allocations: 98.52 kB / 1.095 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008007/0.9552, allocations: 178.5 kB / 1.095 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001393/0.9566, allocations: 0.76 MB / 1.096 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.358e-05/0.9566, allocations: 41 kB / 1.096 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001524/0.9568, allocations: 56 kB / 1.096 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001117/0.9579, allocations: 0.6823 MB / 1.097 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.958, allocations: 0 / 1.097 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.995e-05/0.958, allocations: 20 kB / 1.097 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.509e-05/0.958, allocations: 12 kB / 1.097 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000849/0.9589, allocations: 0.5308 MB / 1.097 GB, free: 12.59 MB / 0.8575 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.00386/0.9628, allocations: 3.245 MB / 1.1 GB, free: 8.973 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005787/0.9633, allocations: 403.2 kB / 1.101 GB, free: 8.57 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 6.208e-05/0.9634, allocations: 12.69 kB / 1.101 GB, free: 8.559 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.9635, allocations: 34.56 kB / 1.101 GB, free: 8.516 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=28): time 1.753e-06/0.9635, allocations: 0 / 1.101 GB, free: 8.516 MB / 0.8575 GB Notification: Performance of matching and sorting (n=28): time 0.004756/0.9682, allocations: 1.495 MB / 1.102 GB, free: 6.992 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.747e-05/0.9683, allocations: 51.41 kB / 1.102 GB, free: 6.93 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001335/0.9696, allocations: 1.061 MB / 1.103 GB, free: 5.848 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.65e-05/0.9697, allocations: 33.7 kB / 1.103 GB, free: 5.809 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003855/0.9701, allocations: 448.4 kB / 1.104 GB, free: 5.367 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 9.334e-05/0.9702, allocations: 106.5 kB / 1.104 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.318e-05/0.9702, allocations: 0 / 1.104 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.9703, allocations: 318 kB / 1.104 GB, free: 4.945 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002608/0.9706, allocations: 135.9 kB / 1.104 GB, free: 4.812 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004096/0.971, allocations: 341.3 kB / 1.105 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002973/0.9713, allocations: 181.1 kB / 1.105 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.9713, allocations: 0 / 1.105 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001894/0.9732, allocations: 0.7358 MB / 1.106 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001606/0.9734, allocations: 371.6 kB / 1.106 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.9734, allocations: 0 / 1.106 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001398/0.9748, allocations: 320.4 kB / 1.106 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001372/0.975, allocations: 27.94 kB / 1.106 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001018/0.976, allocations: 1.003 MB / 1.107 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006746/0.9767, allocations: 79.72 kB / 1.107 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.812e-05/0.9767, allocations: 11.98 kB / 1.107 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.9767, allocations: 4 kB / 1.107 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001047/0.9778, allocations: 496.8 kB / 1.108 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.9778, allocations: 7.953 kB / 1.108 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005152/0.9783, allocations: 204.7 kB / 1.108 GB, free: 0.9336 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.9784, allocations: 23.92 kB / 1.108 GB, free: 0.9102 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00386/0.9823, allocations: 3.095 MB / 1.111 GB, free: 13.67 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000676/0.983, allocations: 87.62 kB / 1.111 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.526e-05/0.983, allocations: 8 kB / 1.111 GB, free: 13.58 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (9): * Single equations (assignments): 8 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 19} Notification: Performance of prepare postOptimizeDAE: time 0.0005679/0.9836, allocations: 454.5 kB / 1.112 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001277/0.9838, allocations: 90.88 kB / 1.112 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001283/0.985, allocations: 0.7178 MB / 1.112 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.9851, allocations: 11.94 kB / 1.112 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.9851, allocations: 0 / 1.112 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.9851, allocations: 0 / 1.112 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002417/0.9875, allocations: 1.512 MB / 1.114 GB, free: 10.7 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.198e-06/0.9875, allocations: 4 kB / 1.114 GB, free: 10.7 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001089/0.9876, allocations: 31.88 kB / 1.114 GB, free: 10.67 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004465/0.9881, allocations: 216.9 kB / 1.114 GB, free: 10.45 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.181e-05/0.9881, allocations: 8 kB / 1.114 GB, free: 10.45 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009085/0.989, allocations: 0.9794 MB / 1.115 GB, free: 9.441 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.9891, allocations: 4.031 kB / 1.115 GB, free: 9.438 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001228/0.9903, allocations: 0.8945 MB / 1.116 GB, free: 8.461 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004002/0.9907, allocations: 211.9 kB / 1.116 GB, free: 8.234 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.424e-05/0.9908, allocations: 8 kB / 1.116 GB, free: 8.227 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000448/0.9913, allocations: 55.84 kB / 1.116 GB, free: 8.172 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001659/0.9914, allocations: 27.92 kB / 1.116 GB, free: 8.145 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-05/0.9915, allocations: 12 kB / 1.116 GB, free: 8.133 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001015/0.9925, allocations: 0.763 MB / 1.117 GB, free: 7.359 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9925, allocations: 0 / 1.117 GB, free: 7.359 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001162/0.9937, allocations: 399.4 kB / 1.117 GB, free: 6.969 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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): 8 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.002022/0.9957, allocations: 1.904 MB / 1.119 GB, free: 4.996 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001599/0.9973, allocations: 0.7399 MB / 1.12 GB, free: 4.242 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/0.9973, allocations: 4 kB / 1.12 GB, free: 4.238 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0004253/0.9978, allocations: 215 kB / 1.12 GB, free: 4.031 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002368/1, allocations: 487.9 kB / 1.121 GB, free: 3.555 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0117/1.012, allocations: 6.462 MB / 1.127 GB, free: 12.88 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008629/1.013, allocations: 1.196 MB / 1.128 GB, free: 11.65 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0007782/1.014, allocations: 207.3 kB / 1.128 GB, free: 11.45 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003644/1.014, allocations: 311.3 kB / 1.129 GB, free: 11.14 MB / 0.8887 GB Notification: Performance of SimCode: time 8.92e-07/1.014, allocations: 0 / 1.129 GB, free: 11.14 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05005/1.064, allocations: 27.62 MB / 1.156 GB, free: 15.96 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002754/1.064, allocations: 264.4 kB / 1.156 GB, free: 15.61 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.16/3.224, allocations: 3.875 kB / 1.156 GB, free: 15.61 MB / 0.92 GB (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FixedResistances_Validation_PressureDropsSeries_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FixedResistances_Validation_PressureDropsSeries.fmu > Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsSeries_res.mat does not exist to compare? outputFormat=mat