Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.6794/0.6794, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008884/0.0008887, allocations: 181 kB / 187.3 MB, free: 11.89 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.2/1.2, allocations: 221.3 MB / 441.4 MB, free: 4.586 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007805/0.0007804, allocations: 95.47 kB / 0.5124 GB, free: 24.24 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001636/0.001637, allocations: 274 kB / 0.5939 GB, free: 7.965 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 2.992e-05/2.995e-05, allocations: 12 kB / 0.6835 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3261/0.3262, allocations: 82.75 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.65/3.977, allocations: 1.826 GB / 2.59 GB, free: 180.6 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002288/3.977, allocations: 87.52 kB / 2.59 GB, free: 180.5 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.694/4.671, allocations: 217.3 MB / 2.802 GB, free: 207.6 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.042e-06/4.671, allocations: 3.781 kB / 2.802 GB, free: 207.6 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.978e-05/4.671, allocations: 9.406 kB / 2.802 GB, free: 207.6 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.001464/4.673, allocations: 0.6153 MB / 2.803 GB, free: 207.2 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/4.673, allocations: 7.562 kB / 2.803 GB, free: 207.2 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.771e-05/4.673, allocations: 56.47 kB / 2.803 GB, free: 207.1 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002194/4.673, allocations: 44.34 kB / 2.803 GB, free: 207.1 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004469/4.673, allocations: 300.1 kB / 2.803 GB, free: 206.9 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/4.673, allocations: 13.5 kB / 2.803 GB, free: 206.9 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.405e-05/4.673, allocations: 15.16 kB / 2.803 GB, free: 206.9 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000314/4.674, allocations: 215.3 kB / 2.804 GB, free: 206.9 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/4.674, allocations: 3.25 kB / 2.804 GB, free: 206.9 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.962e-05/4.674, allocations: 3.438 kB / 2.804 GB, free: 206.9 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.812e-05/4.674, allocations: 11.81 kB / 2.804 GB, free: 206.9 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002318/4.674, allocations: 174.5 kB / 2.804 GB, free: 206.9 MB / 0.698 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.001062/4.675, allocations: 0.8896 MB / 2.805 GB, free: 206.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001605/4.675, allocations: 127.9 kB / 2.805 GB, free: 206.4 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001094/4.675, allocations: 93.41 kB / 2.805 GB, free: 206.4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002008/4.676, allocations: 188.5 kB / 2.805 GB, free: 206.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.827e-05/4.676, allocations: 38.5 kB / 2.805 GB, free: 206.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=14): time 1.282e-06/4.676, allocations: 3.844 kB / 2.805 GB, free: 206.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=14): time 0.000458/4.676, allocations: 216.8 kB / 2.805 GB, free: 206.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.512e-05/4.676, allocations: 59.05 kB / 2.805 GB, free: 206.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000152/4.676, allocations: 219.4 kB / 2.805 GB, free: 206 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/4.676, allocations: 25.7 kB / 2.806 GB, free: 206 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.372e-05/4.676, allocations: 140 kB / 2.806 GB, free: 205.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.063e-05/4.676, allocations: 48.59 kB / 2.806 GB, free: 205.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.162e-05/4.676, allocations: 3.562 kB / 2.806 GB, free: 205.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.937e-05/4.676, allocations: 333.9 kB / 2.806 GB, free: 205.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.05e-05/4.677, allocations: 74.45 kB / 2.806 GB, free: 205.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001183/4.677, allocations: 104.2 kB / 2.806 GB, free: 205.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.945e-05/4.677, allocations: 78.62 kB / 2.806 GB, free: 205.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/4.677, allocations: 0 / 2.806 GB, free: 205.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002605/4.677, allocations: 208.7 kB / 2.806 GB, free: 205.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/4.677, allocations: 4.5 kB / 2.806 GB, free: 205.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/4.677, allocations: 2.781 kB / 2.806 GB, free: 205.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/4.677, allocations: 3.938 kB / 2.806 GB, free: 205.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001996/4.677, allocations: 43.81 kB / 2.807 GB, free: 205.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/4.677, allocations: 0 / 2.807 GB, free: 205.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001813/4.678, allocations: 35.2 kB / 2.807 GB, free: 205.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.967e-05/4.678, allocations: 11 kB / 2.807 GB, free: 205.4 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 () * 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.114e-05/4.678, allocations: 114.3 kB / 2.807 GB, free: 205.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.012e-05/4.678, allocations: 22.91 kB / 2.807 GB, free: 205.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.45e-05/4.678, allocations: 31.09 kB / 2.807 GB, free: 205.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/4.678, allocations: 6.25 kB / 2.807 GB, free: 205.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/4.678, allocations: 0 / 2.807 GB, free: 205.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/4.678, allocations: 0 / 2.807 GB, free: 205.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007353/4.678, allocations: 0.6969 MB / 2.807 GB, free: 205 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/4.679, allocations: 0 / 2.807 GB, free: 205 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001723/4.679, allocations: 42.75 kB / 2.807 GB, free: 205 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/4.679, allocations: 7.766 kB / 2.807 GB, free: 205 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.656e-05/4.679, allocations: 3.812 kB / 2.807 GB, free: 205 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/4.679, allocations: 0 / 2.807 GB, free: 205 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/4.679, allocations: 3.219 kB / 2.807 GB, free: 205 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003014/4.679, allocations: 438.8 kB / 2.808 GB, free: 204.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.318e-05/4.679, allocations: 122.4 kB / 2.808 GB, free: 204.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.232e-05/4.679, allocations: 3.875 kB / 2.808 GB, free: 204.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001891/4.679, allocations: 17.78 kB / 2.808 GB, free: 204.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.521e-05/4.679, allocations: 17.42 kB / 2.808 GB, free: 204.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.457e-05/4.679, allocations: 9.969 kB / 2.808 GB, free: 204.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001062/4.68, allocations: 178 kB / 2.808 GB, free: 204.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.7e-07/4.68, allocations: 0 / 2.808 GB, free: 204.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004999/4.68, allocations: 132.2 kB / 2.808 GB, free: 204.5 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 () * 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.001405/4.681, allocations: 2.218 MB / 2.81 GB, free: 203 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002583/4.682, allocations: 173.9 kB / 2.811 GB, free: 203 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/4.682, allocations: 0 / 2.811 GB, free: 203 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001177/4.682, allocations: 92.39 kB / 2.811 GB, free: 203 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005678/4.682, allocations: 128.1 kB / 2.811 GB, free: 203 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005963/4.683, allocations: 396.1 kB / 2.811 GB, free: 202.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001646/4.683, allocations: 0.7599 MB / 2.812 GB, free: 202.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002194/4.683, allocations: 80.92 kB / 2.812 GB, free: 202.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000107/4.684, allocations: 69.39 kB / 2.812 GB, free: 202.1 MB / 0.698 GB Notification: Performance of SimCode: time 2.71e-07/4.684, allocations: 3.438 kB / 2.812 GB, free: 202.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03104/4.715, allocations: 22.84 MB / 2.834 GB, free: 201.3 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001408/4.715, allocations: 205.7 kB / 2.835 GB, free: 201 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.284/6.999, allocations: 0 / 2.835 GB, free: 201 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_LosslessPipe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_LosslessPipe.fmu > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)