Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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.Validation.LosslessPipe,fileNamePrefix="Buildings_8_Buildings_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="Buildings_8_Buildings_Fluid_FixedResistances_Validation_LosslessPipe",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.001452/0.001452, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001626/0.001626, allocations: 191.6 kB / 16.13 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.36/1.36, allocations: 205.1 MB / 222 MB, free: 4.723 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.815/1.815, allocations: 292.3 MB / 0.5484 GB, free: 13.67 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 67.41 kB / 0.6709 GB, free: 26.44 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2257/0.2271, allocations: 114.5 MB / 0.7828 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.6135/0.8406, allocations: 159.1 MB / 0.9381 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001669/0.8423, allocations: 0.9552 MB / 0.9391 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002188/0.8426, allocations: 8.781 kB / 0.9391 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.000494/0.8431, allocations: 129.2 kB / 0.9392 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001302/0.8444, allocations: 0.5915 MB / 0.9398 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005088/0.8449, allocations: 200.9 kB / 0.94 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000656/0.8456, allocations: 0.7233 MB / 0.9407 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002939/0.8459, allocations: 152.9 kB / 0.9408 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003763/0.8463, allocations: 211.7 kB / 0.941 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001898/0.8465, allocations: 168.6 kB / 0.9412 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.039e-05/0.8465, allocations: 10.5 kB / 0.9412 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001005/0.8475, allocations: 0.6402 MB / 0.9418 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001078/0.8477, allocations: 76.7 kB / 0.9419 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001197/0.8478, allocations: 105.7 kB / 0.942 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0007403/0.8485, allocations: 0.515 MB / 0.9425 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.8485, allocations: 0 / 0.9425 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.894e-06/0.8486, allocations: 3.672 kB / 0.9425 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.94e-06/0.8486, allocations: 0 / 0.9425 GB, free: 5.637 MB / 0.7325 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.001648/0.8502, allocations: 0.595 MB / 0.9431 GB, free: 21.2 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.8503, allocations: 12.06 kB / 0.9431 GB, free: 21.19 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.682e-05/0.8503, allocations: 53.38 kB / 0.9432 GB, free: 21.15 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002548/0.8506, allocations: 47.42 kB / 0.9432 GB, free: 21.14 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003122/0.8509, allocations: 282.5 kB / 0.9435 GB, free: 20.91 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.8509, allocations: 15.69 kB / 0.9435 GB, free: 20.91 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.253e-05/0.851, allocations: 16.91 kB / 0.9435 GB, free: 20.91 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000509/0.8515, allocations: 236.6 kB / 0.9437 GB, free: 20.88 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.948e-06/0.8515, allocations: 0 / 0.9437 GB, free: 20.88 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.399e-05/0.8515, allocations: 6.75 kB / 0.9437 GB, free: 20.88 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.373e-05/0.8516, allocations: 13.05 kB / 0.9437 GB, free: 20.88 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006329/0.8522, allocations: 254.4 kB / 0.944 GB, free: 20.88 MB / 0.7481 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.001213/0.8534, allocations: 0.8353 MB / 0.9448 GB, free: 20.44 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003186/0.8538, allocations: 148.1 kB / 0.9449 GB, free: 20.41 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000211/0.854, allocations: 118.9 kB / 0.9451 GB, free: 20.4 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002658/0.8543, allocations: 182.2 kB / 0.9452 GB, free: 20.21 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.8543, allocations: 39.09 kB / 0.9453 GB, free: 20.18 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=14): time 1.463e-06/0.8543, allocations: 0 / 0.9453 GB, free: 20.18 MB / 0.7481 GB Notification: Performance of matching and sorting (n=14): time 0.0008122/0.8551, allocations: 305.2 kB / 0.9456 GB, free: 20.12 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.27e-05/0.8552, allocations: 58.14 kB / 0.9456 GB, free: 20.06 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002122/0.8554, allocations: 241.5 kB / 0.9458 GB, free: 19.96 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.307e-05/0.8554, allocations: 29.33 kB / 0.9459 GB, free: 19.93 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 7.753e-05/0.8555, allocations: 135.2 kB / 0.946 GB, free: 19.83 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.408e-05/0.8555, allocations: 51.92 kB / 0.946 GB, free: 19.8 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.469e-05/0.8556, allocations: 34.75 kB / 0.9461 GB, free: 19.79 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.8557, allocations: 334.3 kB / 0.9464 GB, free: 19.47 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001738/0.8559, allocations: 69.11 kB / 0.9465 GB, free: 19.47 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001989/0.8561, allocations: 100.6 kB / 0.9466 GB, free: 19.45 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003392/0.8565, allocations: 172.8 kB / 0.9467 GB, free: 19.42 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.8565, allocations: 1.812 kB / 0.9467 GB, free: 19.42 MB / 0.7481 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004299/0.8569, allocations: 208.8 kB / 0.9469 GB, free: 19.38 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.8569, allocations: 9.984 kB / 0.9469 GB, free: 19.37 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.8569, allocations: 6.719 kB / 0.9469 GB, free: 19.37 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.857, allocations: 0 / 0.9469 GB, free: 19.37 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001883/0.8572, allocations: 36.33 kB / 0.947 GB, free: 19.37 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.8572, allocations: 2.375 kB / 0.947 GB, free: 19.37 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001827/0.8574, allocations: 25.58 kB / 0.947 GB, free: 19.36 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.328e-05/0.8574, allocations: 10.03 kB / 0.947 GB, free: 19.36 MB / 0.7481 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001228/0.8575, allocations: 139.8 kB / 0.9471 GB, free: 19.24 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.593e-05/0.8576, allocations: 23.34 kB / 0.9472 GB, free: 19.23 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.108e-05/0.8577, allocations: 30.22 kB / 0.9472 GB, free: 19.23 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.8577, allocations: 6.25 kB / 0.9472 GB, free: 19.22 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.8577, allocations: 0 / 0.9472 GB, free: 19.22 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.8577, allocations: 2.578 kB / 0.9472 GB, free: 19.22 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009739/0.8587, allocations: 0.6828 MB / 0.9479 GB, free: 18.86 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.8587, allocations: 3.312 kB / 0.9479 GB, free: 18.86 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001629/0.8588, allocations: 30.41 kB / 0.9479 GB, free: 18.86 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.8589, allocations: 2.094 kB / 0.9479 GB, free: 18.86 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.685e-05/0.8589, allocations: 6.859 kB / 0.9479 GB, free: 18.86 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.8589, allocations: 9.406 kB / 0.9479 GB, free: 18.86 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.8589, allocations: 7.219 kB / 0.9479 GB, free: 18.85 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004521/0.8594, allocations: 354 kB / 0.9483 GB, free: 18.64 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.8595, allocations: 110.8 kB / 0.9484 GB, free: 18.54 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.953e-05/0.8595, allocations: 4.797 kB / 0.9484 GB, free: 18.54 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000184/0.8597, allocations: 8.781 kB / 0.9484 GB, free: 18.54 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.861e-05/0.8598, allocations: 20.64 kB / 0.9484 GB, free: 18.54 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.389e-05/0.8598, allocations: 7.547 kB / 0.9484 GB, free: 18.54 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001504/0.8599, allocations: 182.1 kB / 0.9486 GB, free: 18.46 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8599, allocations: 1.203 kB / 0.9486 GB, free: 18.46 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003627/0.8603, allocations: 68.53 kB / 0.9487 GB, free: 18.45 MB / 0.7481 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001011/0.8613, allocations: 0.931 MB / 0.9496 GB, free: 17.71 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005086/0.8618, allocations: 171.8 kB / 0.9497 GB, free: 17.7 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.8619, allocations: 2.906 kB / 0.9497 GB, free: 17.7 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002342/0.8621, allocations: 94.44 kB / 0.9498 GB, free: 17.7 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007739/0.8629, allocations: 116.7 kB / 0.9499 GB, free: 17.7 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003162/0.866, allocations: 2.524 MB / 0.9524 GB, free: 16.19 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002846/0.8664, allocations: 0.756 MB / 0.9531 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002578/0.8666, allocations: 63.39 kB / 0.9532 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001081/0.8667, allocations: 70.23 kB / 0.9533 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of SimCode: time 4.11e-07/0.8667, allocations: 0.5625 kB / 0.9533 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01773/0.8845, allocations: 6.524 MB / 0.9596 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001977/0.8847, allocations: 250.1 kB / 0.9599 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.906/2.791, allocations: 1.5 kB / 0.9599 GB, free: 14.66 MB / 0.7481 GB (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_FixedResistances_Validation_LosslessPipe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_FixedResistances_Validation_LosslessPipe.fmu > Buildings_8_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)