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.001066/0.001066, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 195.5 kB / 16.53 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.294/1.294, allocations: 205.1 MB / 222.4 MB, free: 4.648 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.643/1.643, allocations: 292.3 MB / 0.5489 GB, free: 12.86 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.001372/0.001372, allocations: 71.27 kB / 0.6716 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.1722, allocations: 114.5 MB / 0.7835 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.4703/0.6425, allocations: 161.3 MB / 0.941 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001523/0.6441, allocations: 0.9458 MB / 0.9419 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001837/0.6443, allocations: 12.66 kB / 0.942 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00046/0.6448, allocations: 156.7 kB / 0.9421 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001226/0.646, allocations: 0.6291 MB / 0.9427 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000522/0.6466, allocations: 218 kB / 0.9429 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000536/0.6471, allocations: 0.5003 MB / 0.9434 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000307/0.6474, allocations: 177.5 kB / 0.9436 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003862/0.6478, allocations: 239.9 kB / 0.9438 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002395/0.6481, allocations: 154.4 kB / 0.944 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.869e-05/0.6481, allocations: 15.39 kB / 0.944 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008358/0.649, allocations: 0.5419 MB / 0.9445 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.6491, allocations: 81.02 kB / 0.9446 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001324/0.6492, allocations: 110.6 kB / 0.9447 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006432/0.6499, allocations: 497 kB / 0.9452 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.6499, allocations: 0 / 0.9452 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.092e-06/0.6499, allocations: 1.125 kB / 0.9452 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.113e-06/0.6499, allocations: 4 kB / 0.9452 GB, free: 1.609 MB / 0.7169 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.001329/0.6512, allocations: 0.5967 MB / 0.9457 GB, free: 17.17 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.6513, allocations: 10.16 kB / 0.9458 GB, free: 17.17 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.534e-05/0.6514, allocations: 50.73 kB / 0.9458 GB, free: 17.13 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002472/0.6516, allocations: 45.91 kB / 0.9458 GB, free: 17.12 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000288/0.6519, allocations: 284.6 kB / 0.9461 GB, free: 16.89 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.6519, allocations: 10.86 kB / 0.9461 GB, free: 16.89 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.254e-05/0.652, allocations: 18.91 kB / 0.9461 GB, free: 16.89 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004524/0.6524, allocations: 242.3 kB / 0.9464 GB, free: 16.85 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.6524, allocations: 1.375 kB / 0.9464 GB, free: 16.85 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.154e-05/0.6525, allocations: 7.375 kB / 0.9464 GB, free: 16.85 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.226e-05/0.6525, allocations: 13.48 kB / 0.9464 GB, free: 16.85 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006095/0.6531, allocations: 247.5 kB / 0.9466 GB, free: 16.85 MB / 0.7325 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.001186/0.6543, allocations: 0.8353 MB / 0.9475 GB, free: 16.41 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003557/0.6547, allocations: 147.6 kB / 0.9476 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000254/0.6549, allocations: 116.5 kB / 0.9477 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002822/0.6552, allocations: 188.8 kB / 0.9479 GB, free: 16.17 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/0.6553, allocations: 39.16 kB / 0.9479 GB, free: 16.13 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=14): time 1.322e-06/0.6553, allocations: 1.203 kB / 0.9479 GB, free: 16.13 MB / 0.7325 GB Notification: Performance of matching and sorting (n=14): time 0.0009154/0.6562, allocations: 297.7 kB / 0.9482 GB, free: 16.08 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.102e-05/0.6562, allocations: 53.25 kB / 0.9483 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002658/0.6565, allocations: 247.5 kB / 0.9485 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.559e-05/0.6565, allocations: 26.83 kB / 0.9485 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.786e-05/0.6566, allocations: 142.9 kB / 0.9487 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.507e-05/0.6567, allocations: 45.95 kB / 0.9487 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.347e-05/0.6568, allocations: 38.03 kB / 0.9487 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.6569, allocations: 333.9 kB / 0.9491 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001967/0.6571, allocations: 70.81 kB / 0.9491 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002291/0.6573, allocations: 106.8 kB / 0.9492 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003831/0.6577, allocations: 165.3 kB / 0.9494 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.6577, allocations: 0.5938 kB / 0.9494 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004162/0.6581, allocations: 212.4 kB / 0.9496 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.6582, allocations: 9.062 kB / 0.9496 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.6582, allocations: 0 / 0.9496 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.6582, allocations: 6.438 kB / 0.9496 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001777/0.6584, allocations: 31.23 kB / 0.9496 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.6584, allocations: 1.219 kB / 0.9496 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001694/0.6586, allocations: 28.66 kB / 0.9497 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.119e-05/0.6586, allocations: 6.859 kB / 0.9497 GB, free: 15.3 MB / 0.7325 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.0001129/0.6587, allocations: 146.3 kB / 0.9498 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.346e-05/0.6588, allocations: 23.78 kB / 0.9498 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.565e-05/0.6588, allocations: 31.8 kB / 0.9499 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.6588, allocations: 1.156 kB / 0.9499 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.6589, allocations: 1.312 kB / 0.9499 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.6589, allocations: 1.781 kB / 0.9499 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009241/0.6598, allocations: 0.6786 MB / 0.9505 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.6598, allocations: 1.156 kB / 0.9505 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001549/0.66, allocations: 33.2 kB / 0.9506 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.66, allocations: 8.891 kB / 0.9506 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/0.66, allocations: 6.375 kB / 0.9506 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.66, allocations: 5.312 kB / 0.9506 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.66, allocations: 3.312 kB / 0.9506 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004562/0.6605, allocations: 358.1 kB / 0.9509 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.848e-05/0.6606, allocations: 109.5 kB / 0.951 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.961e-05/0.6606, allocations: 9.453 kB / 0.951 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001617/0.6608, allocations: 6.938 kB / 0.951 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.075e-05/0.6609, allocations: 21.86 kB / 0.9511 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.275e-05/0.6609, allocations: 5.891 kB / 0.9511 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001477/0.661, allocations: 178.5 kB / 0.9512 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.661, allocations: 0 / 0.9512 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003545/0.6614, allocations: 58.8 kB / 0.9513 GB, free: 14.38 MB / 0.7325 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.000906/0.6623, allocations: 0.9461 MB / 0.9522 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00043/0.6627, allocations: 178.5 kB / 0.9524 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.6628, allocations: 3.938 kB / 0.9524 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002038/0.663, allocations: 92.75 kB / 0.9525 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007061/0.6637, allocations: 133.1 kB / 0.9526 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002775/0.6665, allocations: 2.463 MB / 0.955 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002931/0.6668, allocations: 0.7547 MB / 0.9557 GB, free: 11.42 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002688/0.6671, allocations: 59.84 kB / 0.9558 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001078/0.6672, allocations: 64.09 kB / 0.9559 GB, free: 11.4 MB / 0.7325 GB Notification: Performance of SimCode: time 1.773e-06/0.6672, allocations: 0 / 0.9559 GB, free: 11.4 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.382/3.049, allocations: 6.863 MB / 0.9626 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.16/15.21, allocations: 7.719 kB / 0.9626 GB, free: 10.68 MB / 0.7325 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)