Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.conf.json 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/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 181.4 kB / 8.009 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4966/0.4966, allocations: 90.91 MB / 99.35 MB, free: 2.168 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 221.5 MB / 343.2 MB, free: 1.605 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009033/0.0009033, allocations: 101.4 kB / 416 MB, free: 11.15 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.978e-05/2e-05, allocations: 4 kB / 494.6 MB, free: 52.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1348, allocations: 72.31 MB / 0.5536 GB, free: 12.19 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.889/4.024, allocations: 1.818 GB / 2.372 GB, free: 84.98 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002657/4.024, allocations: 85.08 kB / 2.372 GB, free: 84.94 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.7074/4.732, allocations: 214.5 MB / 2.581 GB, free: 119.4 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.743e-06/4.732, allocations: 0 / 2.581 GB, free: 119.4 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.91e-05/4.732, allocations: 7.938 kB / 2.581 GB, free: 119.4 MB / 0.6042 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.001638/4.733, allocations: 0.6225 MB / 2.582 GB, free: 118.8 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/4.734, allocations: 8.031 kB / 2.582 GB, free: 118.8 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002479/4.734, allocations: 54.08 kB / 2.582 GB, free: 118.7 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004673/4.734, allocations: 286.3 kB / 2.582 GB, free: 118.4 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/4.734, allocations: 15.95 kB / 2.582 GB, free: 118.4 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.063e-05/4.734, allocations: 8 kB / 2.582 GB, free: 118.4 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002278/4.735, allocations: 147.9 kB / 2.582 GB, free: 118.2 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002634/4.735, allocations: 193.6 kB / 2.583 GB, free: 118 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/4.735, allocations: 0 / 2.583 GB, free: 118 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.051e-05/4.735, allocations: 4 kB / 2.583 GB, free: 118 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.686e-05/4.735, allocations: 12.33 kB / 2.583 GB, free: 118 MB / 0.6042 GB Warning: The model contains alias variables with conflicting start and/or 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.001145/4.736, allocations: 0.829 MB / 2.583 GB, free: 117.1 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001486/4.736, allocations: 114.5 kB / 2.583 GB, free: 117 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001037/4.736, allocations: 100.8 kB / 2.584 GB, free: 116.9 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002222/4.737, allocations: 190.2 kB / 2.584 GB, free: 116.7 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.659e-05/4.737, allocations: 30.56 kB / 2.584 GB, free: 116.6 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=14): time 1.703e-06/4.737, allocations: 0 / 2.584 GB, free: 116.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14): time 0.0004825/4.737, allocations: 217.3 kB / 2.584 GB, free: 116.4 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.671e-05/4.737, allocations: 55.41 kB / 2.584 GB, free: 116.3 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/4.737, allocations: 150 kB / 2.584 GB, free: 116.2 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/4.737, allocations: 25.7 kB / 2.584 GB, free: 116.1 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.127e-05/4.737, allocations: 148.2 kB / 2.584 GB, free: 116 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.914e-05/4.737, allocations: 47.3 kB / 2.584 GB, free: 115.9 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.153e-05/4.737, allocations: 0 / 2.584 GB, free: 115.9 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.117e-05/4.737, allocations: 330.8 kB / 2.585 GB, free: 115.6 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.471e-05/4.738, allocations: 67.95 kB / 2.585 GB, free: 115.6 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001131/4.738, allocations: 105.9 kB / 2.585 GB, free: 115.4 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.086e-05/4.738, allocations: 80.12 kB / 2.585 GB, free: 115.4 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/4.738, allocations: 0 / 2.585 GB, free: 115.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002404/4.738, allocations: 191.2 kB / 2.585 GB, free: 115.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/4.738, allocations: 8.062 kB / 2.585 GB, free: 115.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/4.738, allocations: 0 / 2.585 GB, free: 115.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/4.738, allocations: 4 kB / 2.585 GB, free: 115.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002113/4.738, allocations: 35.91 kB / 2.585 GB, free: 115.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/4.738, allocations: 0 / 2.585 GB, free: 115.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001751/4.738, allocations: 27.81 kB / 2.585 GB, free: 115.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.592e-05/4.738, allocations: 12 kB / 2.585 GB, free: 115.1 MB / 0.6042 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 () * 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 6.659e-05/4.739, allocations: 108.9 kB / 2.585 GB, free: 115 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002349/4.739, allocations: 197.3 kB / 2.585 GB, free: 114.8 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.429e-05/4.739, allocations: 15.81 kB / 2.586 GB, free: 114.8 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.008e-05/4.739, allocations: 21.97 kB / 2.586 GB, free: 114.7 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/4.739, allocations: 3.938 kB / 2.586 GB, free: 114.7 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/4.739, allocations: 7.938 kB / 2.586 GB, free: 114.7 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/4.739, allocations: 3.984 kB / 2.586 GB, free: 114.7 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006983/4.74, allocations: 0.645 MB / 2.586 GB, free: 114 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/4.74, allocations: 0 / 2.586 GB, free: 114 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001843/4.74, allocations: 36.19 kB / 2.586 GB, free: 114 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/4.74, allocations: 4 kB / 2.586 GB, free: 114 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.677e-05/4.74, allocations: 11.98 kB / 2.586 GB, free: 114 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/4.74, allocations: 11.89 kB / 2.586 GB, free: 113.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/4.74, allocations: 4 kB / 2.586 GB, free: 113.9 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003122/4.74, allocations: 410.4 kB / 2.587 GB, free: 113.5 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.059e-05/4.74, allocations: 116.8 kB / 2.587 GB, free: 113.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.29e-05/4.74, allocations: 7.953 kB / 2.587 GB, free: 113.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001834/4.741, allocations: 20.05 kB / 2.587 GB, free: 113.3 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.947e-05/4.741, allocations: 11.98 kB / 2.587 GB, free: 113.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/4.741, allocations: 8 kB / 2.587 GB, free: 113.3 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.685e-05/4.741, allocations: 136 kB / 2.587 GB, free: 113.1 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/4.741, allocations: 0 / 2.587 GB, free: 113.1 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005016/4.741, allocations: 111.8 kB / 2.587 GB, free: 113 MB / 0.6042 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 () * 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.001709/4.743, allocations: 2.331 MB / 2.589 GB, free: 110.6 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002722/4.743, allocations: 161.7 kB / 2.589 GB, free: 110.5 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/4.743, allocations: 0 / 2.589 GB, free: 110.5 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001132/4.743, allocations: 96.38 kB / 2.59 GB, free: 110.4 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005157/4.744, allocations: 71.98 kB / 2.59 GB, free: 110.3 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000684/4.745, allocations: 385.1 kB / 2.59 GB, free: 109.9 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002024/4.745, allocations: 0.7672 MB / 2.591 GB, free: 109.1 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002162/4.745, allocations: 62.05 kB / 2.591 GB, free: 109 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000113/4.745, allocations: 67.39 kB / 2.591 GB, free: 109 MB / 0.6042 GB Notification: Performance of SimCode: time 2.5e-07/4.745, allocations: 0 / 2.591 GB, free: 109 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03116/4.776, allocations: 11.73 MB / 2.602 GB, free: 97.3 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001587/4.776, allocations: 165.1 kB / 2.602 GB, free: 97.11 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.105/6.882, allocations: 0 / 2.602 GB, free: 97.11 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_LosslessPipe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_LosslessPipe.fmu > IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)