Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.688/1.688, allocations: 288.4 MB / 303.3 MB, free: 8.137 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.001079/0.001078, allocations: 190.8 kB / 372 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.584/1.584, allocations: 205.4 MB / 0.6307 GB, free: 10.01 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.0007964/0.0007965, allocations: 90.36 kB / 0.744 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005195/0.0005196, allocations: 10.69 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2235/0.2241, allocations: 115.3 MB / 0.9796 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.698/0.9221, allocations: 146.7 MB / 1.123 GB, free: 1.512 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.002941/0.9251, allocations: 1.598 MB / 1.124 GB, free: 1.34 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002691/0.9254, allocations: 8.281 kB / 1.124 GB, free: 1.336 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0004882/0.9259, allocations: 108.7 kB / 1.125 GB, free: 1.293 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001247/0.9271, allocations: 378.6 kB / 1.125 GB, free: 1.203 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009668/0.9281, allocations: 363.1 kB / 1.125 GB, free: 1.168 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.000778/0.9289, allocations: 0.6469 MB / 1.126 GB, free: 1.074 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002543/0.9291, allocations: 128.9 kB / 1.126 GB, free: 1.055 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000615/0.9298, allocations: 267.9 kB / 1.126 GB, free: 0.9922 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002165/0.93, allocations: 146.8 kB / 1.126 GB, free: 0.9609 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 3.115e-05/0.93, allocations: 8.188 kB / 1.126 GB, free: 0.9609 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009742/0.931, allocations: 0.5269 MB / 1.127 GB, free: 0.9141 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001045/0.9311, allocations: 77.17 kB / 1.127 GB, free: 0.9023 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001109/0.9312, allocations: 67.61 kB / 1.127 GB, free: 16.86 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0004337/0.9317, allocations: 332.2 kB / 1.127 GB, free: 16.83 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.366e-06/0.9317, allocations: 1.656 kB / 1.127 GB, free: 16.83 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.765e-06/0.9317, allocations: 0 / 1.127 GB, free: 16.83 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.764e-06/0.9317, allocations: 4 kB / 1.127 GB, free: 16.82 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.0007571/0.9325, allocations: 0.542 MB / 1.128 GB, free: 16.36 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.9325, allocations: 11.7 kB / 1.128 GB, free: 16.36 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.265e-05/0.9326, allocations: 48.47 kB / 1.128 GB, free: 16.32 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003323/0.9329, allocations: 54.81 kB / 1.128 GB, free: 16.31 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003204/0.9333, allocations: 281 kB / 1.128 GB, free: 16.09 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/0.9333, allocations: 9.344 kB / 1.128 GB, free: 16.09 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.952e-05/0.9333, allocations: 16.94 kB / 1.128 GB, free: 16.08 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003809/0.9337, allocations: 195.9 kB / 1.128 GB, free: 16.02 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.9337, allocations: 0 / 1.128 GB, free: 16.02 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.771e-05/0.9338, allocations: 5.25 kB / 1.128 GB, free: 16.02 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.9338, allocations: 3.188 kB / 1.128 GB, free: 16.02 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003228/0.9341, allocations: 143.2 kB / 1.129 GB, free: 16.02 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.001027/0.9352, allocations: 0.7923 MB / 1.129 GB, free: 15.48 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002301/0.9354, allocations: 93.09 kB / 1.129 GB, free: 15.45 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00015/0.9356, allocations: 80.17 kB / 1.13 GB, free: 15.44 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003168/0.9359, allocations: 190.2 kB / 1.13 GB, free: 15.25 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/0.9359, allocations: 31.59 kB / 1.13 GB, free: 15.21 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 1.253e-06/0.9359, allocations: 0 / 1.13 GB, free: 15.21 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0006863/0.9366, allocations: 228.7 kB / 1.13 GB, free: 15.16 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.051e-05/0.9367, allocations: 56.89 kB / 1.13 GB, free: 15.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002417/0.9369, allocations: 269.2 kB / 1.13 GB, free: 14.99 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.317e-05/0.9369, allocations: 31.08 kB / 1.13 GB, free: 14.96 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.385e-05/0.937, allocations: 146.6 kB / 1.13 GB, free: 14.87 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.128e-05/0.9371, allocations: 32.25 kB / 1.131 GB, free: 14.85 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.412e-06/0.9371, allocations: 7.188 kB / 1.131 GB, free: 14.84 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.9372, allocations: 334 kB / 1.131 GB, free: 14.53 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001226/0.9373, allocations: 46.09 kB / 1.131 GB, free: 14.53 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001545/0.9375, allocations: 99.91 kB / 1.131 GB, free: 14.47 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001269/0.9376, allocations: 53.89 kB / 1.131 GB, free: 14.47 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.9376, allocations: 0 / 1.131 GB, free: 14.47 MB / 0.698 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003182/0.938, allocations: 166.9 kB / 1.131 GB, free: 14.42 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.822e-05/0.938, allocations: 121.4 kB / 1.131 GB, free: 14.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.9381, allocations: 0 / 1.131 GB, free: 14.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.9381, allocations: 3 kB / 1.131 GB, free: 14.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.9382, allocations: 21.73 kB / 1.131 GB, free: 14.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.9382, allocations: 4.672 kB / 1.131 GB, free: 14.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000188/0.9384, allocations: 28.58 kB / 1.131 GB, free: 14.29 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.089e-05/0.9384, allocations: 6.281 kB / 1.131 GB, free: 14.29 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.979e-06/0.9385, allocations: 6.719 kB / 1.131 GB, free: 14.29 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002637/0.9387, allocations: 122.3 kB / 1.131 GB, free: 14.28 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.643e-06/0.9387, allocations: 0 / 1.131 GB, free: 14.28 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.456e-06/0.9387, allocations: 4.156 kB / 1.131 GB, free: 14.28 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.9389, allocations: 28.16 kB / 1.132 GB, free: 14.27 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.834e-06/0.9389, allocations: 0 / 1.132 GB, free: 14.27 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001815/0.9391, allocations: 29.44 kB / 1.132 GB, free: 14.27 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.357e-05/0.9391, allocations: 7.703 kB / 1.132 GB, free: 14.27 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.0001443/0.9392, allocations: 216.6 kB / 1.132 GB, free: 14.07 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.524e-05/0.9393, allocations: 26.55 kB / 1.132 GB, free: 14.06 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003525/0.9396, allocations: 172.4 kB / 1.132 GB, free: 14.01 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.9397, allocations: 2.484 kB / 1.132 GB, free: 14.01 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.9397, allocations: 3.281 kB / 1.132 GB, free: 14.01 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.9397, allocations: 3 kB / 1.132 GB, free: 14.01 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008368/0.9405, allocations: 0.5996 MB / 1.133 GB, free: 13.63 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-06/0.9405, allocations: 6.75 kB / 1.133 GB, free: 13.63 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000108/0.9406, allocations: 23.56 kB / 1.133 GB, free: 13.63 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.9407, allocations: 2.938 kB / 1.133 GB, free: 13.63 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.9407, allocations: 6.5 kB / 1.133 GB, free: 13.63 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/0.9407, allocations: 9.062 kB / 1.133 GB, free: 13.62 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.9407, allocations: 0 / 1.133 GB, free: 13.62 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003538/0.941, allocations: 308.7 kB / 1.133 GB, free: 13.41 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/0.9412, allocations: 113.4 kB / 1.133 GB, free: 13.31 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.068e-05/0.9412, allocations: 1.844 kB / 1.133 GB, free: 13.31 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001999/0.9414, allocations: 20.59 kB / 1.133 GB, free: 13.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.048e-05/0.9415, allocations: 20.59 kB / 1.133 GB, free: 13.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.9415, allocations: 5.781 kB / 1.133 GB, free: 13.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001605/0.9416, allocations: 193.5 kB / 1.133 GB, free: 13.21 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9416, allocations: 0 / 1.133 GB, free: 13.21 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004413/0.9421, allocations: 97.61 kB / 1.133 GB, free: 13.2 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.0009095/0.943, allocations: 0.8933 MB / 1.134 GB, free: 12.46 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004505/0.9435, allocations: 180.3 kB / 1.134 GB, free: 12.45 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.9435, allocations: 0 / 1.134 GB, free: 12.45 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001394/0.9436, allocations: 68.25 kB / 1.134 GB, free: 12.44 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008139/0.9445, allocations: 139.6 kB / 1.135 GB, free: 12.42 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001975/0.9464, allocations: 1.33 MB / 1.136 GB, free: 11.81 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003453/0.9468, allocations: 0.7546 MB / 1.137 GB, free: 11.11 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002716/0.9471, allocations: 76.75 kB / 1.137 GB, free: 11.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001057/0.9472, allocations: 67.94 kB / 1.137 GB, free: 11.09 MB / 0.698 GB Notification: Performance of SimCode: time 2.4e-07/0.9472, allocations: 0 / 1.137 GB, free: 11.09 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01992/0.9671, allocations: 6.564 MB / 1.143 GB, free: 8.551 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002307/0.9674, allocations: 243.5 kB / 1.143 GB, free: 8.312 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.992/2.96, allocations: 0 / 1.143 GB, free: 8.312 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Examples_PressureDrop_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Examples_PressureDrop.fmu > Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)