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.452/1.452, allocations: 288.4 MB / 303.6 MB, free: 8.188 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.0008962/0.0008962, allocations: 169.8 kB / 372.2 MB, free: 10.14 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.325/1.325, allocations: 205.4 MB / 0.631 GB, free: 9.895 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.0006992/0.0006991, allocations: 104.6 kB / 0.7444 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004005/0.0004006, allocations: 12.12 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2034/0.2038, allocations: 115.3 MB / 0.9802 GB, free: 27.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.6149/0.8188, allocations: 146.7 MB / 1.123 GB, free: 2.012 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.003089/0.8219, allocations: 1.595 MB / 1.125 GB, free: 1.848 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003528/0.8223, allocations: 12.09 kB / 1.125 GB, free: 1.84 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005358/0.8229, allocations: 116.7 kB / 1.125 GB, free: 1.801 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001419/0.8243, allocations: 463.3 kB / 1.126 GB, free: 1.699 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001365/0.8257, allocations: 358.7 kB / 1.126 GB, free: 1.664 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0009716/0.8267, allocations: 0.6586 MB / 1.127 GB, free: 1.566 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003041/0.827, allocations: 149.7 kB / 1.127 GB, free: 1.539 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006584/0.8276, allocations: 281.4 kB / 1.127 GB, free: 1.48 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002147/0.8279, allocations: 147.4 kB / 1.127 GB, free: 1.445 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 3.044e-05/0.8279, allocations: 7.344 kB / 1.127 GB, free: 1.445 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001402/0.8293, allocations: 0.7664 MB / 1.128 GB, free: 1.379 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001013/0.8294, allocations: 71.66 kB / 1.128 GB, free: 1.371 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001871/0.8296, allocations: 129 kB / 1.128 GB, free: 17.31 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0005661/0.8302, allocations: 343.8 kB / 1.128 GB, free: 17.27 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.8302, allocations: 1.281 kB / 1.128 GB, free: 17.27 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.933e-06/0.8302, allocations: 0 / 1.128 GB, free: 17.27 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.8302, allocations: 0 / 1.128 GB, free: 17.27 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.000845/0.8311, allocations: 0.5449 MB / 1.129 GB, free: 16.81 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/0.8311, allocations: 9.062 kB / 1.129 GB, free: 16.81 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.978e-05/0.8312, allocations: 50.31 kB / 1.129 GB, free: 16.77 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003612/0.8316, allocations: 57.27 kB / 1.129 GB, free: 16.76 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003703/0.832, allocations: 283.4 kB / 1.129 GB, free: 16.52 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.832, allocations: 13 kB / 1.129 GB, free: 16.52 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.734e-05/0.832, allocations: 13.88 kB / 1.129 GB, free: 16.52 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003658/0.8324, allocations: 198.7 kB / 1.129 GB, free: 16.46 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.8324, allocations: 2.906 kB / 1.129 GB, free: 16.46 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.856e-05/0.8324, allocations: 5.688 kB / 1.129 GB, free: 16.46 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.717e-06/0.8324, allocations: 3.062 kB / 1.129 GB, free: 16.46 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003185/0.8328, allocations: 139.6 kB / 1.13 GB, free: 16.45 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.001029/0.8338, allocations: 0.7999 MB / 1.13 GB, free: 15.91 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002285/0.8341, allocations: 84.61 kB / 1.13 GB, free: 15.89 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001471/0.8342, allocations: 83.27 kB / 1.131 GB, free: 15.88 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003152/0.8345, allocations: 186.1 kB / 1.131 GB, free: 15.69 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.8346, allocations: 34.5 kB / 1.131 GB, free: 15.64 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 1.533e-06/0.8346, allocations: 6.875 kB / 1.131 GB, free: 15.64 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0006281/0.8352, allocations: 232 kB / 1.131 GB, free: 15.59 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.109e-05/0.8353, allocations: 63.16 kB / 1.131 GB, free: 15.52 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002258/0.8355, allocations: 266.7 kB / 1.131 GB, free: 15.42 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/0.8355, allocations: 28.55 kB / 1.131 GB, free: 15.39 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.217e-05/0.8356, allocations: 145.8 kB / 1.131 GB, free: 15.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.639e-05/0.8356, allocations: 34.36 kB / 1.132 GB, free: 15.28 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.041e-06/0.8356, allocations: 0 / 1.132 GB, free: 15.28 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.8358, allocations: 334.1 kB / 1.132 GB, free: 14.96 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001201/0.8359, allocations: 47.89 kB / 1.132 GB, free: 14.96 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001411/0.836, allocations: 93.59 kB / 1.132 GB, free: 14.91 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000246/0.8363, allocations: 128.1 kB / 1.132 GB, free: 14.88 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.8363, allocations: 2.875 kB / 1.132 GB, free: 14.88 MB / 0.698 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003152/0.8366, allocations: 169.7 kB / 1.132 GB, free: 14.82 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.421e-05/0.8367, allocations: 120.5 kB / 1.132 GB, free: 14.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.8367, allocations: 0 / 1.132 GB, free: 14.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.8367, allocations: 7.062 kB / 1.132 GB, free: 14.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.8368, allocations: 23.34 kB / 1.132 GB, free: 14.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.8369, allocations: 0 / 1.132 GB, free: 14.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001931/0.8371, allocations: 31.05 kB / 1.132 GB, free: 14.69 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.291e-05/0.8371, allocations: 8.547 kB / 1.132 GB, free: 14.69 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.56e-06/0.8371, allocations: 2.812 kB / 1.132 GB, free: 14.69 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002522/0.8374, allocations: 123 kB / 1.133 GB, free: 14.68 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.523e-06/0.8374, allocations: 0 / 1.133 GB, free: 14.68 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.485e-06/0.8374, allocations: 2.938 kB / 1.133 GB, free: 14.68 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.8375, allocations: 21.47 kB / 1.133 GB, free: 14.68 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.285e-06/0.8375, allocations: 6.469 kB / 1.133 GB, free: 14.67 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001809/0.8377, allocations: 28 kB / 1.133 GB, free: 14.66 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.539e-05/0.8377, allocations: 7.312 kB / 1.133 GB, free: 14.66 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.0001538/0.8379, allocations: 218.7 kB / 1.133 GB, free: 14.47 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.191e-05/0.8379, allocations: 22.62 kB / 1.133 GB, free: 14.46 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003411/0.8383, allocations: 176.3 kB / 1.133 GB, free: 14.41 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/0.8383, allocations: 0 / 1.133 GB, free: 14.41 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.8383, allocations: 4.219 kB / 1.133 GB, free: 14.41 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.8383, allocations: 2.391 kB / 1.133 GB, free: 14.41 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008129/0.8391, allocations: 0.599 MB / 1.134 GB, free: 14.03 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.8391, allocations: 6.75 kB / 1.134 GB, free: 14.02 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/0.8392, allocations: 23.52 kB / 1.134 GB, free: 14.02 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.596e-06/0.8392, allocations: 2.938 kB / 1.134 GB, free: 14.02 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.8393, allocations: 5.625 kB / 1.134 GB, free: 14.02 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.8393, allocations: 8.109 kB / 1.134 GB, free: 14.02 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.8393, allocations: 3.312 kB / 1.134 GB, free: 14.02 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003605/0.8396, allocations: 308.1 kB / 1.134 GB, free: 13.81 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/0.8398, allocations: 109.8 kB / 1.134 GB, free: 13.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.366e-05/0.8398, allocations: 8.281 kB / 1.134 GB, free: 13.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001989/0.84, allocations: 16.78 kB / 1.134 GB, free: 13.7 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.371e-05/0.8401, allocations: 22.84 kB / 1.134 GB, free: 13.69 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/0.8401, allocations: 2.906 kB / 1.134 GB, free: 13.69 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001576/0.8403, allocations: 196.1 kB / 1.134 GB, free: 13.61 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8403, allocations: 0 / 1.134 GB, free: 13.61 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004532/0.8407, allocations: 93.72 kB / 1.134 GB, free: 13.6 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.0009226/0.8416, allocations: 0.9105 MB / 1.135 GB, free: 12.84 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004517/0.8421, allocations: 179 kB / 1.135 GB, free: 12.83 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.8421, allocations: 0 / 1.135 GB, free: 12.83 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001424/0.8423, allocations: 71.33 kB / 1.135 GB, free: 12.82 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008638/0.8432, allocations: 131.4 kB / 1.136 GB, free: 12.81 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001926/0.8451, allocations: 1.327 MB / 1.137 GB, free: 12.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003173/0.8454, allocations: 0.7583 MB / 1.138 GB, free: 11.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002444/0.8457, allocations: 70.05 kB / 1.138 GB, free: 11.49 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.8458, allocations: 70.52 kB / 1.138 GB, free: 11.48 MB / 0.698 GB Notification: Performance of SimCode: time 2.3e-07/0.8458, allocations: 3.938 kB / 1.138 GB, free: 11.48 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02071/0.8665, allocations: 6.624 MB / 1.144 GB, free: 8.789 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002185/0.8668, allocations: 245.8 kB / 1.144 GB, free: 8.543 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.98/2.846, allocations: 0 / 1.144 GB, free: 8.543 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)