Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.PressureDrop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.73/2.73, allocations: 287.5 MB / 302.4 MB, free: 8.305 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001383/0.001383, allocations: 186 kB / 371 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.412/2.412, allocations: 205.4 MB / 0.6297 GB, free: 10.6 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009428/0.0009425, allocations: 82.38 kB / 0.743 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004946/0.0004952, allocations: 20.59 kB / 0.8659 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2122/0.2127, allocations: 115.3 MB / 0.9784 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.8907/1.103, allocations: 146.7 MB / 1.122 GB, free: 1.211 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.005265/1.109, allocations: 1.602 MB / 1.123 GB, free: 1.039 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000635/1.109, allocations: 8.469 kB / 1.123 GB, free: 1.035 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0008852/1.11, allocations: 105.7 kB / 1.123 GB, free: 0.9961 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002389/1.113, allocations: 376.4 kB / 1.124 GB, free: 0.9062 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002573/1.115, allocations: 359 kB / 1.124 GB, free: 0.875 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001972/1.117, allocations: 0.6494 MB / 1.125 GB, free: 0.7773 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005996/1.118, allocations: 134 kB / 1.125 GB, free: 0.7578 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001215/1.119, allocations: 263.2 kB / 1.125 GB, free: 0.6992 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004474/1.12, allocations: 147.6 kB / 1.125 GB, free: 0.668 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 6.337e-05/1.12, allocations: 10.22 kB / 1.125 GB, free: 0.6641 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002508/1.122, allocations: 0.5275 MB / 1.126 GB, free: 0.6172 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002782/1.123, allocations: 74.78 kB / 1.126 GB, free: 0.6094 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002352/1.123, allocations: 69.77 kB / 1.126 GB, free: 16.57 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001268/1.124, allocations: 332.2 kB / 1.126 GB, free: 16.54 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.336e-06/1.124, allocations: 0 / 1.126 GB, free: 16.54 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.207e-06/1.124, allocations: 0 / 1.126 GB, free: 16.54 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.466e-06/1.124, allocations: 0 / 1.126 GB, free: 16.54 MB / 0.698 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.001465/1.126, allocations: 0.5478 MB / 1.127 GB, free: 16.07 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.875e-05/1.126, allocations: 10.69 kB / 1.127 GB, free: 16.07 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.194e-05/1.126, allocations: 44.56 kB / 1.127 GB, free: 16.03 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006649/1.127, allocations: 57.11 kB / 1.127 GB, free: 16.02 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006824/1.127, allocations: 279 kB / 1.127 GB, free: 15.79 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.176e-05/1.128, allocations: 11.47 kB / 1.127 GB, free: 15.79 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.76e-05/1.128, allocations: 20.88 kB / 1.127 GB, free: 15.79 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007556/1.128, allocations: 197.6 kB / 1.127 GB, free: 15.73 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/1.128, allocations: 0 / 1.127 GB, free: 15.73 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.267e-05/1.128, allocations: 5.719 kB / 1.127 GB, free: 15.73 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.139e-05/1.128, allocations: 5.125 kB / 1.127 GB, free: 15.73 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007055/1.129, allocations: 141.5 kB / 1.127 GB, free: 15.72 MB / 0.698 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.00209/1.131, allocations: 0.7884 MB / 1.128 GB, free: 15.18 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004875/1.132, allocations: 93.33 kB / 1.128 GB, free: 15.15 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003605/1.132, allocations: 82.44 kB / 1.128 GB, free: 15.14 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005715/1.133, allocations: 187.6 kB / 1.129 GB, free: 14.95 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.144e-05/1.133, allocations: 36.34 kB / 1.129 GB, free: 14.91 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 5.921e-06/1.133, allocations: 0 / 1.129 GB, free: 14.91 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.001488/1.134, allocations: 232.2 kB / 1.129 GB, free: 14.86 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.714e-05/1.135, allocations: 51.41 kB / 1.129 GB, free: 14.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005352/1.135, allocations: 266.4 kB / 1.129 GB, free: 14.7 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.98e-05/1.135, allocations: 31.64 kB / 1.129 GB, free: 14.67 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001556/1.135, allocations: 145.1 kB / 1.129 GB, free: 14.58 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.816e-05/1.135, allocations: 32.84 kB / 1.129 GB, free: 14.56 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.42e-05/1.135, allocations: 3.25 kB / 1.129 GB, free: 14.56 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001998/1.136, allocations: 333.2 kB / 1.13 GB, free: 14.24 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002861/1.136, allocations: 55 kB / 1.13 GB, free: 14.23 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003785/1.136, allocations: 94.52 kB / 1.13 GB, free: 14.19 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003145/1.137, allocations: 56.16 kB / 1.13 GB, free: 14.18 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/1.137, allocations: 0 / 1.13 GB, free: 14.18 MB / 0.698 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0008311/1.138, allocations: 170.5 kB / 1.13 GB, free: 14.13 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001082/1.138, allocations: 109.4 kB / 1.13 GB, free: 14.02 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.79e-05/1.138, allocations: 0 / 1.13 GB, free: 14.02 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.446e-05/1.138, allocations: 6.078 kB / 1.13 GB, free: 14.01 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003246/1.138, allocations: 31.48 kB / 1.13 GB, free: 14.01 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.609e-05/1.138, allocations: 6.469 kB / 1.13 GB, free: 14 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004931/1.139, allocations: 21.69 kB / 1.13 GB, free: 14 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.51e-05/1.139, allocations: 13.62 kB / 1.13 GB, free: 14 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/1.139, allocations: 2.938 kB / 1.13 GB, free: 14 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006305/1.139, allocations: 121.4 kB / 1.13 GB, free: 13.98 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/1.139, allocations: 0 / 1.13 GB, free: 13.98 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.595e-06/1.139, allocations: 2.562 kB / 1.13 GB, free: 13.98 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002837/1.14, allocations: 26.69 kB / 1.13 GB, free: 13.98 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/1.14, allocations: 3.984 kB / 1.13 GB, free: 13.98 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004653/1.14, allocations: 30.98 kB / 1.13 GB, free: 13.97 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.123e-05/1.14, allocations: 6 kB / 1.13 GB, free: 13.97 MB / 0.698 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.0003353/1.141, allocations: 223 kB / 1.131 GB, free: 13.77 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/1.141, allocations: 22.06 kB / 1.131 GB, free: 13.76 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008567/1.142, allocations: 171.1 kB / 1.131 GB, free: 13.71 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.824e-06/1.142, allocations: 1.312 kB / 1.131 GB, free: 13.71 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.989e-05/1.142, allocations: 1.125 kB / 1.131 GB, free: 13.71 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/1.142, allocations: 2.438 kB / 1.131 GB, free: 13.71 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001932/1.144, allocations: 0.599 MB / 1.131 GB, free: 13.34 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.118e-05/1.144, allocations: 11.53 kB / 1.131 GB, free: 13.33 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002844/1.144, allocations: 26.62 kB / 1.131 GB, free: 13.33 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.641e-05/1.144, allocations: 3.719 kB / 1.131 GB, free: 13.33 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.358e-05/1.144, allocations: 7.438 kB / 1.131 GB, free: 13.33 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.589e-06/1.144, allocations: 3.906 kB / 1.131 GB, free: 13.33 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/1.144, allocations: 3.25 kB / 1.131 GB, free: 13.33 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008694/1.145, allocations: 304.6 kB / 1.132 GB, free: 13.12 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002151/1.145, allocations: 113 kB / 1.132 GB, free: 13.01 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.004e-05/1.145, allocations: 4.828 kB / 1.132 GB, free: 13.01 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005201/1.146, allocations: 20.48 kB / 1.132 GB, free: 13.01 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.584e-05/1.146, allocations: 19.8 kB / 1.132 GB, free: 13 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.523e-05/1.146, allocations: 6.688 kB / 1.132 GB, free: 13 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003918/1.146, allocations: 189.8 kB / 1.132 GB, free: 12.92 MB / 0.698 GB Notification: Performance of sort global known variables: time 7.92e-07/1.146, allocations: 1.406 kB / 1.132 GB, free: 12.92 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001132/1.148, allocations: 97.47 kB / 1.132 GB, free: 12.91 MB / 0.698 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.001969/1.15, allocations: 0.9003 MB / 1.133 GB, free: 12.16 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001149/1.151, allocations: 179.4 kB / 1.133 GB, free: 12.14 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.145e-06/1.151, allocations: 1 kB / 1.133 GB, free: 12.14 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003841/1.151, allocations: 66.2 kB / 1.133 GB, free: 12.14 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002048/1.153, allocations: 134.2 kB / 1.133 GB, free: 12.12 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00427/1.158, allocations: 1.319 MB / 1.135 GB, free: 11.52 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005669/1.158, allocations: 0.759 MB / 1.135 GB, free: 10.82 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006322/1.159, allocations: 73.11 kB / 1.135 GB, free: 10.81 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002182/1.159, allocations: 72.5 kB / 1.136 GB, free: 10.8 MB / 0.698 GB Notification: Performance of SimCode: time 1.453e-06/1.159, allocations: 3.938 kB / 1.136 GB, free: 10.79 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04034/1.2, allocations: 6.543 MB / 1.142 GB, free: 9.023 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002898/1.2, allocations: 242.7 kB / 1.142 GB, free: 8.777 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.732/3.931, allocations: 7.75 kB / 1.142 GB, free: 8.773 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_PressureDrop_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_PressureDrop.fmu > Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)