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.001456/0.001456, allocations: 99.08 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.001717/0.001718, 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 2.624/2.624, allocations: 223.2 MB / 239.9 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 5.614/5.614, allocations: 409.2 MB / 0.6838 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000694/0.0006942, allocations: 12 kB / 0.8375 GB, free: 6.547 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.635/1.635, allocations: 146.8 MB / 0.9809 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.3139/1.949, allocations: 135.6 MB / 1.113 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.004813/1.954, allocations: 1.626 MB / 1.115 GB, free: 12.69 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005484/1.955, allocations: 7.938 kB / 1.115 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001107/1.956, allocations: 179.2 kB / 1.115 GB, free: 12.51 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002655/1.958, allocations: 498.5 kB / 1.116 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002126/1.961, allocations: 430.7 kB / 1.116 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001163/1.962, allocations: 360.1 kB / 1.116 GB, free: 11.25 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004346/1.962, allocations: 140.5 kB / 1.116 GB, free: 11.12 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007001/1.963, allocations: 215.3 kB / 1.117 GB, free: 10.91 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002345/1.963, allocations: 107.5 kB / 1.117 GB, free: 10.8 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 4.783e-05/1.963, allocations: 7.984 kB / 1.117 GB, free: 10.8 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001255/1.965, allocations: 383.4 kB / 1.117 GB, free: 10.42 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001361/1.965, allocations: 67.8 kB / 1.117 GB, free: 10.36 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001174/1.965, allocations: 69.58 kB / 1.117 GB, free: 10.28 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0006256/1.965, allocations: 283.3 kB / 1.118 GB, free: 10 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 1.028e-05/1.965, allocations: 3.938 kB / 1.118 GB, free: 10 MB / 0.8731 GB Notification: Performance of FrontEnd: time 3.296e-06/1.965, allocations: 3.938 kB / 1.118 GB, free: 9.996 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 6.923e-06/1.966, allocations: 0 / 1.118 GB, free: 9.996 MB / 0.8731 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.001167/1.967, allocations: 0.5295 MB / 1.118 GB, free: 9.418 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 6.313e-05/1.967, allocations: 12.03 kB / 1.118 GB, free: 9.406 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.417e-05/1.967, allocations: 46.55 kB / 1.118 GB, free: 9.352 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000525/1.967, allocations: 55.59 kB / 1.118 GB, free: 9.297 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005583/1.968, allocations: 289.4 kB / 1.118 GB, free: 8.973 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.195e-05/1.968, allocations: 8 kB / 1.118 GB, free: 8.965 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.888e-05/1.968, allocations: 16 kB / 1.118 GB, free: 8.949 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005257/1.969, allocations: 196.6 kB / 1.119 GB, free: 8.742 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/1.969, allocations: 0 / 1.119 GB, free: 8.742 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.518e-05/1.969, allocations: 15.94 kB / 1.119 GB, free: 8.727 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/1.969, allocations: 7.938 kB / 1.119 GB, free: 8.719 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004409/1.969, allocations: 131.9 kB / 1.119 GB, free: 8.59 MB / 0.8731 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.001659/1.971, allocations: 0.7809 MB / 1.12 GB, free: 7.738 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004341/1.971, allocations: 98.59 kB / 1.12 GB, free: 7.633 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 7.904e-05/1.971, allocations: 7.984 kB / 1.12 GB, free: 7.625 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.77e-05/1.971, allocations: 38.69 kB / 1.12 GB, free: 7.578 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=10): time 2.284e-06/1.971, allocations: 0 / 1.12 GB, free: 7.578 MB / 0.8731 GB Notification: Performance of matching and sorting (n=10): time 0.001044/1.972, allocations: 237.2 kB / 1.12 GB, free: 7.34 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.864e-05/1.973, allocations: 55.41 kB / 1.12 GB, free: 7.273 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004371/1.973, allocations: 263 kB / 1.12 GB, free: 7.008 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.653e-05/1.973, allocations: 29.7 kB / 1.12 GB, free: 6.973 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001526/1.973, allocations: 144 kB / 1.12 GB, free: 6.828 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.247e-05/1.973, allocations: 39.41 kB / 1.12 GB, free: 6.789 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.518e-06/1.973, allocations: 0 / 1.12 GB, free: 6.789 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002081/1.973, allocations: 334.8 kB / 1.121 GB, free: 6.453 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001877/1.974, allocations: 47.95 kB / 1.121 GB, free: 6.406 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000239/1.974, allocations: 93.48 kB / 1.121 GB, free: 6.297 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001963/1.974, allocations: 56.09 kB / 1.121 GB, free: 6.242 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/1.974, allocations: 0 / 1.121 GB, free: 6.242 MB / 0.8731 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000506/1.975, allocations: 177.2 kB / 1.121 GB, free: 6.062 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002669/1.975, allocations: 364 kB / 1.121 GB, free: 5.68 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/1.975, allocations: 0 / 1.121 GB, free: 5.68 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/1.975, allocations: 0 / 1.121 GB, free: 5.68 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001998/1.975, allocations: 27.98 kB / 1.121 GB, free: 5.652 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.74e-05/1.975, allocations: 7.922 kB / 1.121 GB, free: 5.645 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002821/1.976, allocations: 23.98 kB / 1.121 GB, free: 5.621 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.915e-05/1.976, allocations: 7.953 kB / 1.122 GB, free: 5.613 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/1.976, allocations: 4 kB / 1.122 GB, free: 5.609 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003893/1.976, allocations: 115.9 kB / 1.122 GB, free: 5.496 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.404e-06/1.976, allocations: 3.938 kB / 1.122 GB, free: 5.492 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.467e-06/1.976, allocations: 0 / 1.122 GB, free: 5.492 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001502/1.976, allocations: 27.92 kB / 1.122 GB, free: 5.465 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.641e-05/1.976, allocations: 7.984 kB / 1.122 GB, free: 5.457 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000239/1.976, allocations: 31.81 kB / 1.122 GB, free: 5.426 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.15e-05/1.977, allocations: 8 kB / 1.122 GB, free: 5.418 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 (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.0002716/1.977, allocations: 213.1 kB / 1.122 GB, free: 5.199 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.757e-05/1.977, allocations: 23.67 kB / 1.122 GB, free: 5.176 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005353/1.977, allocations: 171.3 kB / 1.122 GB, free: 5.004 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/1.977, allocations: 4 kB / 1.122 GB, free: 5 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/1.977, allocations: 64 / 1.122 GB, free: 5 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.508e-05/1.977, allocations: 8 kB / 1.122 GB, free: 4.992 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001421/1.979, allocations: 0.6015 MB / 1.123 GB, free: 4.312 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/1.979, allocations: 0 / 1.123 GB, free: 4.312 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001912/1.979, allocations: 27.92 kB / 1.123 GB, free: 4.285 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.775e-06/1.979, allocations: 8.219 kB / 1.123 GB, free: 4.277 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.746e-05/1.979, allocations: 4 kB / 1.123 GB, free: 4.273 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/1.979, allocations: 0 / 1.123 GB, free: 4.273 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.131e-06/1.979, allocations: 4 kB / 1.123 GB, free: 4.27 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006818/1.98, allocations: 401 kB / 1.123 GB, free: 3.797 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000152/1.98, allocations: 109.1 kB / 1.123 GB, free: 3.672 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.036e-05/1.98, allocations: 7.984 kB / 1.123 GB, free: 3.664 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002958/1.98, allocations: 27.83 kB / 1.123 GB, free: 3.637 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.471e-05/1.98, allocations: 11.95 kB / 1.123 GB, free: 3.625 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.99e-05/1.981, allocations: 7.984 kB / 1.123 GB, free: 3.617 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002927/1.981, allocations: 194 kB / 1.123 GB, free: 3.43 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.9e-07/1.981, allocations: 0 / 1.123 GB, free: 3.43 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0007517/1.982, allocations: 91.84 kB / 1.124 GB, free: 3.34 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 (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.001983/1.984, allocations: 1.471 MB / 1.125 GB, free: 1.801 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0006989/1.984, allocations: 175.8 kB / 1.125 GB, free: 1.629 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/1.984, allocations: 0 / 1.125 GB, free: 1.629 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002178/1.985, allocations: 67.84 kB / 1.125 GB, free: 1.562 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001207/1.986, allocations: 139.2 kB / 1.125 GB, free: 1.43 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004161/1.99, allocations: 1.749 MB / 1.127 GB, free: 15.6 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006614/1.991, allocations: 0.7599 MB / 1.128 GB, free: 14.81 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0004833/1.991, allocations: 70.22 kB / 1.128 GB, free: 14.74 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002074/1.991, allocations: 71.41 kB / 1.128 GB, free: 14.67 MB / 0.8887 GB Notification: Performance of SimCode: time 2.304e-06/1.991, allocations: 0 / 1.128 GB, free: 14.67 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03761/2.029, allocations: 6.529 MB / 1.134 GB, free: 8.344 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003932/2.029, allocations: 227.5 kB / 1.135 GB, free: 8.105 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.308/5.338, allocations: 1.969 kB / 1.135 GB, free: 8.105 MB / 0.8887 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