Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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.Examples.PressureDrop,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PressureDrop",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.0009475/0.0009476, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.0008711/0.0008712, allocations: 168.7 kB / 15.95 MB, free: 204 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.426/1.426, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.617/2.617, allocations: 409.4 MB / 0.684 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000343/0.0003431, allocations: 8 kB / 0.8378 GB, free: 6.52 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8498/0.8501, allocations: 146.8 MB / 0.9811 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.1691/1.019, allocations: 146.7 MB / 1.124 GB, free: 3.203 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.003078/1.022, allocations: 1.611 MB / 1.126 GB, free: 1.59 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002728/1.023, allocations: 11.94 kB / 1.126 GB, free: 1.578 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0004859/1.023, allocations: 111.2 kB / 1.126 GB, free: 1.469 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001112/1.024, allocations: 374.2 kB / 1.126 GB, free: 1.102 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001068/1.025, allocations: 368.8 kB / 1.127 GB, free: 0.7461 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0008114/1.026, allocations: 0.6473 MB / 1.127 GB, free: 100 kB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000275/1.026, allocations: 128.5 kB / 1.127 GB, free: 15.98 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005755/1.027, allocations: 270.8 kB / 1.128 GB, free: 15.71 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002089/1.027, allocations: 147.4 kB / 1.128 GB, free: 15.57 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.727e-05/1.027, allocations: 4 kB / 1.128 GB, free: 15.56 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001024/1.028, allocations: 0.5301 MB / 1.128 GB, free: 15.03 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001074/1.028, allocations: 71.72 kB / 1.128 GB, free: 14.96 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 7.582e-05/1.029, allocations: 69.58 kB / 1.129 GB, free: 14.89 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0004453/1.029, allocations: 327.2 kB / 1.129 GB, free: 14.57 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/1.029, allocations: 4 kB / 1.129 GB, free: 14.56 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.254e-06/1.029, allocations: 3.938 kB / 1.129 GB, free: 14.56 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.34e-06/1.029, allocations: 0 / 1.129 GB, free: 14.56 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0007843/1.03, allocations: 0.5528 MB / 1.129 GB, free: 13.96 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/1.03, allocations: 8.031 kB / 1.129 GB, free: 13.95 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.944e-05/1.03, allocations: 50.55 kB / 1.129 GB, free: 13.89 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003337/1.03, allocations: 55.59 kB / 1.13 GB, free: 13.84 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003532/1.031, allocations: 285.5 kB / 1.13 GB, free: 13.52 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/1.031, allocations: 12 kB / 1.13 GB, free: 13.5 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.604e-05/1.031, allocations: 12 kB / 1.13 GB, free: 13.49 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003703/1.031, allocations: 196.6 kB / 1.13 GB, free: 13.29 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/1.031, allocations: 0 / 1.13 GB, free: 13.29 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.098e-05/1.031, allocations: 15.95 kB / 1.13 GB, free: 13.27 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.401e-06/1.031, allocations: 0 / 1.13 GB, free: 13.27 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000291/1.031, allocations: 143.8 kB / 1.13 GB, free: 13.13 MB / 0.8887 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.0009517/1.032, allocations: 0.7887 MB / 1.131 GB, free: 12.27 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002412/1.033, allocations: 86.53 kB / 1.131 GB, free: 12.18 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001551/1.033, allocations: 80.81 kB / 1.131 GB, free: 12.09 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000299/1.033, allocations: 186.2 kB / 1.131 GB, free: 11.88 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.566e-05/1.033, allocations: 38.56 kB / 1.131 GB, free: 11.83 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=10): time 1.262e-06/1.033, allocations: 0 / 1.131 GB, free: 11.83 MB / 0.8887 GB Notification: Performance of matching and sorting (n=10): time 0.0006257/1.034, allocations: 233.2 kB / 1.132 GB, free: 11.59 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.295e-05/1.034, allocations: 51.41 kB / 1.132 GB, free: 11.53 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000243/1.034, allocations: 263 kB / 1.132 GB, free: 11.27 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/1.034, allocations: 33.7 kB / 1.132 GB, free: 11.23 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/1.034, allocations: 148 kB / 1.132 GB, free: 11.08 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.229e-05/1.034, allocations: 39.39 kB / 1.132 GB, free: 11.04 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.372e-06/1.034, allocations: 0 / 1.132 GB, free: 11.04 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001368/1.034, allocations: 334.8 kB / 1.132 GB, free: 10.7 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001193/1.035, allocations: 43.97 kB / 1.132 GB, free: 10.66 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001522/1.035, allocations: 101.4 kB / 1.132 GB, free: 10.54 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001316/1.035, allocations: 55.95 kB / 1.133 GB, free: 10.49 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/1.035, allocations: 4 kB / 1.133 GB, free: 10.48 MB / 0.8887 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003287/1.035, allocations: 169.3 kB / 1.133 GB, free: 10.31 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 7.651e-05/1.035, allocations: 123.5 kB / 1.133 GB, free: 10.18 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/1.035, allocations: 0 / 1.133 GB, free: 10.18 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/1.035, allocations: 4 kB / 1.133 GB, free: 10.17 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/1.035, allocations: 19.98 kB / 1.133 GB, free: 10.15 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/1.036, allocations: 4 kB / 1.133 GB, free: 10.15 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001687/1.036, allocations: 23.98 kB / 1.133 GB, free: 10.12 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.437e-05/1.036, allocations: 7.984 kB / 1.133 GB, free: 10.12 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 6.643e-06/1.036, allocations: 4 kB / 1.133 GB, free: 10.11 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002663/1.036, allocations: 115.8 kB / 1.133 GB, free: 10 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.904e-06/1.036, allocations: 0 / 1.133 GB, free: 10 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.087e-06/1.036, allocations: 8.031 kB / 1.133 GB, free: 9.992 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/1.036, allocations: 19.98 kB / 1.133 GB, free: 9.973 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.983e-06/1.036, allocations: 4 kB / 1.133 GB, free: 9.969 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000155/1.036, allocations: 23.83 kB / 1.133 GB, free: 9.945 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.791e-05/1.036, allocations: 15.94 kB / 1.133 GB, free: 9.93 MB / 0.8887 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 (10): * Single equations (assignments): 10 * 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.0001577/1.036, allocations: 222.6 kB / 1.133 GB, free: 9.703 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.416e-05/1.037, allocations: 23.72 kB / 1.133 GB, free: 9.68 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003513/1.037, allocations: 167.3 kB / 1.133 GB, free: 9.512 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/1.037, allocations: 4 kB / 1.133 GB, free: 9.508 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/1.037, allocations: 0 / 1.133 GB, free: 9.508 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/1.037, allocations: 4 kB / 1.133 GB, free: 9.504 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008067/1.038, allocations: 0.5975 MB / 1.134 GB, free: 8.828 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/1.038, allocations: 4 kB / 1.134 GB, free: 8.824 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001057/1.038, allocations: 36.03 kB / 1.134 GB, free: 8.789 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/1.038, allocations: 3.953 kB / 1.134 GB, free: 8.785 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/1.038, allocations: 4 kB / 1.134 GB, free: 8.781 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.001e-06/1.038, allocations: 12.16 kB / 1.134 GB, free: 8.77 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/1.038, allocations: 3.938 kB / 1.134 GB, free: 8.766 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003485/1.038, allocations: 297.4 kB / 1.134 GB, free: 8.438 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 9.708e-05/1.038, allocations: 109 kB / 1.135 GB, free: 8.312 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.797e-05/1.038, allocations: 15.89 kB / 1.135 GB, free: 8.297 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001826/1.039, allocations: 23.89 kB / 1.135 GB, free: 8.273 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.295e-05/1.039, allocations: 15.92 kB / 1.135 GB, free: 8.258 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/1.039, allocations: 4 kB / 1.135 GB, free: 8.254 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0001685/1.039, allocations: 197.9 kB / 1.135 GB, free: 8.062 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.3e-07/1.039, allocations: 0 / 1.135 GB, free: 8.062 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.000438/1.039, allocations: 87.84 kB / 1.135 GB, free: 7.977 MB / 0.8887 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 (10): * Single equations (assignments): 10 * 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.0008881/1.04, allocations: 0.9022 MB / 1.136 GB, free: 7.031 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0004439/1.041, allocations: 183.7 kB / 1.136 GB, free: 6.852 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/1.041, allocations: 0 / 1.136 GB, free: 6.852 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0001419/1.041, allocations: 72.33 kB / 1.136 GB, free: 6.781 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007619/1.042, allocations: 130.2 kB / 1.136 GB, free: 6.656 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001929/1.044, allocations: 1.32 MB / 1.137 GB, free: 5.262 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003286/1.044, allocations: 0.7521 MB / 1.138 GB, free: 4.484 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.000235/1.044, allocations: 74.19 kB / 1.138 GB, free: 4.41 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001123/1.044, allocations: 75.36 kB / 1.138 GB, free: 4.336 MB / 0.8887 GB Notification: Performance of SimCode: time 2.41e-07/1.044, allocations: 4 kB / 1.138 GB, free: 4.332 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01813/1.062, allocations: 6.542 MB / 1.145 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001829/1.063, allocations: 235.8 kB / 1.145 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.031/3.093, allocations: 0 / 1.145 GB, free: 13.75 MB / 0.9044 GB (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PressureDrop_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PressureDrop.fmu > Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.mat does not exist to compare? outputFormat=mat