Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.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.Validation.LosslessPipe,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Validation_LosslessPipe",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.464/1.464, allocations: 288.4 MB / 303.6 MB, free: 8.129 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.0009699/0.0009699, allocations: 180.5 kB / 372.3 MB, free: 10.1 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.356/1.356, allocations: 205.4 MB / 0.631 GB, free: 9.844 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.0007529/0.0007529, allocations: 100.5 kB / 0.7444 GB, free: 5.754 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004307/0.0004308, allocations: 15.38 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2036/0.2041, allocations: 115.3 MB / 0.9802 GB, free: 27.22 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.6082/0.8123, allocations: 146.5 MB / 1.123 GB, free: 2.035 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.001787/0.8141, allocations: 0.9079 MB / 1.124 GB, free: 1.93 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002134/0.8144, allocations: 7.344 kB / 1.124 GB, free: 1.926 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005163/0.8149, allocations: 117.9 kB / 1.124 GB, free: 1.887 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001502/0.8164, allocations: 0.5464 MB / 1.125 GB, free: 1.773 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005705/0.817, allocations: 186 kB / 1.125 GB, free: 1.766 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0006767/0.8177, allocations: 0.6199 MB / 1.126 GB, free: 1.676 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002953/0.818, allocations: 150.5 kB / 1.126 GB, free: 1.648 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000398/0.8184, allocations: 207.3 kB / 1.126 GB, free: 1.605 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002007/0.8186, allocations: 158.2 kB / 1.126 GB, free: 1.574 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 2.978e-05/0.8186, allocations: 11.44 kB / 1.126 GB, free: 1.574 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001179/0.8198, allocations: 0.6285 MB / 1.127 GB, free: 1.512 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001073/0.82, allocations: 74.84 kB / 1.127 GB, free: 1.504 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001983/0.8202, allocations: 127.6 kB / 1.127 GB, free: 17.44 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0004937/0.8207, allocations: 339.3 kB / 1.127 GB, free: 17.41 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.8207, allocations: 1.062 kB / 1.127 GB, free: 17.41 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.334e-06/0.8207, allocations: 3.938 kB / 1.127 GB, free: 17.41 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.8207, allocations: 0 / 1.127 GB, free: 17.41 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001323/0.822, allocations: 0.5506 MB / 1.128 GB, free: 16.98 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.8221, allocations: 9.688 kB / 1.128 GB, free: 16.98 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.164e-05/0.8221, allocations: 50.94 kB / 1.128 GB, free: 16.94 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002529/0.8224, allocations: 54.38 kB / 1.128 GB, free: 16.93 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003353/0.8228, allocations: 283.4 kB / 1.128 GB, free: 16.69 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.176e-05/0.8228, allocations: 13.42 kB / 1.128 GB, free: 16.69 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.404e-05/0.8228, allocations: 19.69 kB / 1.128 GB, free: 16.69 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005066/0.8233, allocations: 248.8 kB / 1.128 GB, free: 16.65 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.8234, allocations: 0 / 1.128 GB, free: 16.65 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.659e-05/0.8234, allocations: 7.906 kB / 1.128 GB, free: 16.65 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.28e-05/0.8234, allocations: 17.5 kB / 1.128 GB, free: 16.64 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007574/0.8242, allocations: 257.8 kB / 1.129 GB, free: 16.64 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.001423/0.8256, allocations: 0.8424 MB / 1.129 GB, free: 16.2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003314/0.826, allocations: 146.1 kB / 1.13 GB, free: 16.17 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002324/0.8262, allocations: 113.6 kB / 1.13 GB, free: 16.16 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003071/0.8265, allocations: 197.4 kB / 1.13 GB, free: 15.96 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/0.8266, allocations: 36.44 kB / 1.13 GB, free: 15.93 MB / 0.698 GB Notification: Performance of pre-optimization done (n=14): time 1.382e-06/0.8266, allocations: 0 / 1.13 GB, free: 15.93 MB / 0.698 GB Notification: Performance of matching and sorting (n=14): time 0.0008525/0.8274, allocations: 316.8 kB / 1.13 GB, free: 15.88 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.7e-05/0.8275, allocations: 51.41 kB / 1.13 GB, free: 15.81 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002895/0.8278, allocations: 243.4 kB / 1.131 GB, free: 15.71 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.487e-05/0.8278, allocations: 27.56 kB / 1.131 GB, free: 15.68 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.646e-05/0.8279, allocations: 138.8 kB / 1.131 GB, free: 15.59 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.011e-05/0.828, allocations: 50.72 kB / 1.131 GB, free: 15.55 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.628e-06/0.828, allocations: 2.969 kB / 1.131 GB, free: 15.55 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.8281, allocations: 330.2 kB / 1.131 GB, free: 15.24 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001685/0.8283, allocations: 68.66 kB / 1.131 GB, free: 15.24 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000204/0.8285, allocations: 121 kB / 1.131 GB, free: 15.21 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003302/0.8288, allocations: 178 kB / 1.131 GB, free: 15.18 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.8289, allocations: 0 / 1.131 GB, free: 15.18 MB / 0.698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004244/0.8293, allocations: 220.8 kB / 1.132 GB, free: 15.13 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.8293, allocations: 11.41 kB / 1.132 GB, free: 15.13 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.8293, allocations: 0 / 1.132 GB, free: 15.13 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.8293, allocations: 4.062 kB / 1.132 GB, free: 15.12 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001802/0.8295, allocations: 37.28 kB / 1.132 GB, free: 15.12 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.8295, allocations: 0 / 1.132 GB, free: 15.12 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001878/0.8297, allocations: 34.09 kB / 1.132 GB, free: 15.11 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.592e-05/0.8298, allocations: 9.438 kB / 1.132 GB, free: 15.11 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (15): * Single equations (assignments): 15 * 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.0001328/0.8299, allocations: 143 kB / 1.132 GB, free: 14.99 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.574e-05/0.83, allocations: 28.59 kB / 1.132 GB, free: 14.98 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.255e-05/0.83, allocations: 33.38 kB / 1.132 GB, free: 14.97 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.8301, allocations: 3.031 kB / 1.132 GB, free: 14.97 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.8301, allocations: 0 / 1.132 GB, free: 14.97 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.8301, allocations: 0 / 1.132 GB, free: 14.97 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001093/0.8312, allocations: 0.6858 MB / 1.133 GB, free: 14.59 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.8312, allocations: 1.969 kB / 1.133 GB, free: 14.59 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001784/0.8314, allocations: 35.78 kB / 1.133 GB, free: 14.59 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.8314, allocations: 3.344 kB / 1.133 GB, free: 14.59 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.79e-05/0.8314, allocations: 9.109 kB / 1.133 GB, free: 14.59 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.8314, allocations: 2.469 kB / 1.133 GB, free: 14.59 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.8314, allocations: 6.641 kB / 1.133 GB, free: 14.58 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005016/0.8319, allocations: 372.5 kB / 1.133 GB, free: 14.37 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.556e-05/0.8321, allocations: 112.6 kB / 1.133 GB, free: 14.26 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.585e-05/0.8321, allocations: 8.125 kB / 1.133 GB, free: 14.26 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001707/0.8323, allocations: 13.84 kB / 1.133 GB, free: 14.26 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.542e-05/0.8323, allocations: 19.78 kB / 1.133 GB, free: 14.26 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.195e-05/0.8324, allocations: 6.906 kB / 1.133 GB, free: 14.25 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001676/0.8325, allocations: 179.7 kB / 1.133 GB, free: 14.18 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8325, allocations: 0 / 1.133 GB, free: 14.18 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004143/0.833, allocations: 56.16 kB / 1.133 GB, free: 14.17 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 (14): * Single equations (assignments): 14 * 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.001268/0.8342, allocations: 0.9477 MB / 1.134 GB, free: 13.43 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000552/0.8348, allocations: 182.8 kB / 1.134 GB, free: 13.41 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.8348, allocations: 0 / 1.134 GB, free: 13.41 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002533/0.8351, allocations: 106.7 kB / 1.135 GB, free: 13.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009725/0.8361, allocations: 122.8 kB / 1.135 GB, free: 13.39 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002162/0.8382, allocations: 1.361 MB / 1.136 GB, free: 12.81 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003565/0.8386, allocations: 0.7502 MB / 1.137 GB, free: 12.11 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002407/0.8389, allocations: 69.03 kB / 1.137 GB, free: 12.09 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001154/0.839, allocations: 67.53 kB / 1.137 GB, free: 12.08 MB / 0.698 GB Notification: Performance of SimCode: time 1.002e-06/0.839, allocations: 0 / 1.137 GB, free: 12.08 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01823/0.8572, allocations: 6.456 MB / 1.143 GB, free: 9.492 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001719/0.8574, allocations: 237.9 kB / 1.143 GB, free: 9.254 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.994/2.851, allocations: 0 / 1.143 GB, free: 9.254 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Validation_LosslessPipe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Validation_LosslessPipe.fmu > Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)