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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001236/0.001236, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001446/0.001446, allocations: 190.9 kB / 22.23 MB, free: 5.16 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002594/0.002594, allocations: 288.8 kB / 306.6 MB, free: 8.312 MB / 238.1 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.207/1.207, allocations: 180.9 MB / 0.53 GB, free: 14.41 MB / 382.1 MB
"
[Timeout remaining time 179]
Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo)
Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo)
Running command: translateModel(BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe")
translateModel(BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002763/0.002763, allocations: 104.9 kB / 0.7308 GB, free: 38.89 MB / 0.545 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1943/0.1971, allocations: 94.2 MB / 0.8228 GB, free: 1.949 MB / 0.5606 GB
Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1986/0.3957, allocations: 162 MB / 0.981 GB, free: 15.35 MB / 0.7325 GB
Notification: Performance of NFInst.instExpressions: time 0.002194/0.3979, allocations: 0.9587 MB / 0.9819 GB, free: 14.39 MB / 0.7325 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.000347/0.3983, allocations: 11.88 kB / 0.9819 GB, free: 14.38 MB / 0.7325 GB
Notification: Performance of NFTyping.typeComponents: time 0.0006256/0.3989, allocations: 170.9 kB / 0.9821 GB, free: 14.21 MB / 0.7325 GB
Notification: Performance of NFTyping.typeBindings: time 0.001691/0.4006, allocations: 0.6731 MB / 0.9828 GB, free: 13.54 MB / 0.7325 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0006593/0.4012, allocations: 245.9 kB / 0.983 GB, free: 13.3 MB / 0.7325 GB
Notification: Performance of NFFlatten.flatten: time 0.0008001/0.402, allocations: 0.5305 MB / 0.9835 GB, free: 12.76 MB / 0.7325 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0003679/0.4024, allocations: 140.3 kB / 0.9836 GB, free: 12.62 MB / 0.7325 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0005395/0.4029, allocations: 243.1 kB / 0.9839 GB, free: 12.39 MB / 0.7325 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002891/0.4032, allocations: 175.3 kB / 0.984 GB, free: 12.21 MB / 0.7325 GB
Notification: Performance of NFPackage.collectConstants: time 3.469e-05/0.4033, allocations: 12 kB / 0.9841 GB, free: 12.2 MB / 0.7325 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.001063/0.4043, allocations: 0.5923 MB / 0.9846 GB, free: 11.61 MB / 0.7325 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001265/0.4045, allocations: 83.67 kB / 0.9847 GB, free: 11.53 MB / 0.7325 GB
Notification: Performance of NFVerifyModel.verify: time 0.000146/0.4046, allocations: 115.4 kB / 0.9848 GB, free: 11.41 MB / 0.7325 GB
Notification: Performance of NFConvertDAE.convert: time 0.0009159/0.4055, allocations: 490.4 kB / 0.9853 GB, free: 10.93 MB / 0.7325 GB
Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/0.4055, allocations: 3.984 kB / 0.9853 GB, free: 10.93 MB / 0.7325 GB
Notification: Performance of FrontEnd: time 1.412e-06/0.4055, allocations: 0 / 0.9853 GB, free: 10.93 MB / 0.7325 GB
Notification: Performance of Transformations before backend: time 9.187e-06/0.4055, allocations: 3.938 kB / 0.9853 GB, free: 10.93 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.001483/0.407, allocations: 0.5413 MB / 0.9858 GB, free: 10.36 MB / 0.7325 GB
Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.4071, allocations: 8.031 kB / 0.9858 GB, free: 10.35 MB / 0.7325 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002744/0.4073, allocations: 43.83 kB / 0.9859 GB, free: 10.3 MB / 0.7325 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004852/0.4078, allocations: 233.1 kB / 0.9861 GB, free: 10.05 MB / 0.7325 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.4078, allocations: 12.33 kB / 0.9861 GB, free: 10.04 MB / 0.7325 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.414e-05/0.4079, allocations: 16 kB / 0.9861 GB, free: 10.02 MB / 0.7325 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005317/0.4084, allocations: 239.8 kB / 0.9864 GB, free: 9.785 MB / 0.7325 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.4084, allocations: 4 kB / 0.9864 GB, free: 9.781 MB / 0.7325 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.167e-05/0.4084, allocations: 4 kB / 0.9864 GB, free: 9.777 MB / 0.7325 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.516e-05/0.4085, allocations: 15.94 kB / 0.9864 GB, free: 9.762 MB / 0.7325 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005727/0.409, allocations: 251.8 kB / 0.9866 GB, free: 9.516 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.00139/0.4104, allocations: 0.804 MB / 0.9874 GB, free: 8.645 MB / 0.7325 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003289/0.4108, allocations: 134.5 kB / 0.9875 GB, free: 8.504 MB / 0.7325 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002375/0.411, allocations: 104.9 kB / 0.9876 GB, free: 8.398 MB / 0.7325 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0002049/0.4112, allocations: 35.97 kB / 0.9877 GB, free: 8.363 MB / 0.7325 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.4112, allocations: 30.56 kB / 0.9877 GB, free: 8.324 MB / 0.7325 GB
Notification: Performance of pre-optimization done (n=14): time 1.192e-06/0.4112, allocations: 4 kB / 0.9877 GB, free: 8.32 MB / 0.7325 GB
Notification: Performance of matching and sorting (n=14): time 0.000874/0.4121, allocations: 306.8 kB / 0.988 GB, free: 8.016 MB / 0.7325 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.589e-05/0.4121, allocations: 55.41 kB / 0.988 GB, free: 7.949 MB / 0.7325 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002522/0.4124, allocations: 241.1 kB / 0.9883 GB, free: 7.711 MB / 0.7325 GB
Notification: Performance of collectPreVariables (initialization): time 2.86e-05/0.4124, allocations: 29.7 kB / 0.9883 GB, free: 7.676 MB / 0.7325 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.4125, allocations: 144.3 kB / 0.9884 GB, free: 7.531 MB / 0.7325 GB
Notification: Performance of collectInitialBindings (initialization): time 4.261e-05/0.4126, allocations: 43.64 kB / 0.9885 GB, free: 7.488 MB / 0.7325 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 7.563e-05/0.4127, allocations: 41.66 kB / 0.9885 GB, free: 7.441 MB / 0.7325 GB
Notification: Performance of setup shared object (initialization): time 0.0001521/0.4128, allocations: 330.8 kB / 0.9888 GB, free: 7.109 MB / 0.7325 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001864/0.413, allocations: 71.88 kB / 0.9889 GB, free: 7.039 MB / 0.7325 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.000223/0.4132, allocations: 107.9 kB / 0.989 GB, free: 6.926 MB / 0.7325 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003671/0.4136, allocations: 167 kB / 0.9892 GB, free: 6.754 MB / 0.7325 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.4136, allocations: 0 / 0.9892 GB, free: 6.754 MB / 0.7325 GB
Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004726/0.4141, allocations: 213.9 kB / 0.9894 GB, free: 6.539 MB / 0.7325 GB
Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.4141, allocations: 9.969 kB / 0.9894 GB, free: 6.531 MB / 0.7325 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.4141, allocations: 8.062 kB / 0.9894 GB, free: 6.523 MB / 0.7325 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.4141, allocations: 0 / 0.9894 GB, free: 6.523 MB / 0.7325 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000195/0.4143, allocations: 35.92 kB / 0.9894 GB, free: 6.488 MB / 0.7325 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.976e-06/0.4143, allocations: 3.984 kB / 0.9894 GB, free: 6.484 MB / 0.7325 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001673/0.4145, allocations: 19.84 kB / 0.9894 GB, free: 6.465 MB / 0.7325 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.553e-05/0.4145, allocations: 7.984 kB / 0.9895 GB, free: 6.457 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.0001544/0.4146, allocations: 142.5 kB / 0.9896 GB, free: 6.309 MB / 0.7325 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.243e-05/0.4147, allocations: 27.84 kB / 0.9896 GB, free: 6.281 MB / 0.7325 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.188e-05/0.4148, allocations: 29.81 kB / 0.9896 GB, free: 6.254 MB / 0.7325 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.4148, allocations: 7.984 kB / 0.9897 GB, free: 6.246 MB / 0.7325 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/0.4148, allocations: 0 / 0.9897 GB, free: 6.246 MB / 0.7325 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.4148, allocations: 0 / 0.9897 GB, free: 6.246 MB / 0.7325 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001139/0.4159, allocations: 0.6591 MB / 0.9903 GB, free: 5.516 MB / 0.7325 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.4159, allocations: 0 / 0.9903 GB, free: 5.516 MB / 0.7325 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001593/0.4161, allocations: 27.98 kB / 0.9903 GB, free: 5.488 MB / 0.7325 GB
Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.4161, allocations: 0 / 0.9903 GB, free: 5.488 MB / 0.7325 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.677e-05/0.4161, allocations: 11.92 kB / 0.9903 GB, free: 5.477 MB / 0.7325 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.4161, allocations: 4.219 kB / 0.9903 GB, free: 5.473 MB / 0.7325 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.4161, allocations: 7.938 kB / 0.9903 GB, free: 5.465 MB / 0.7325 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005251/0.4167, allocations: 360.5 kB / 0.9907 GB, free: 5.078 MB / 0.7325 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/0.4168, allocations: 39.72 kB / 0.9907 GB, free: 5.039 MB / 0.7325 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.778e-05/0.4168, allocations: 8 kB / 0.9907 GB, free: 5.031 MB / 0.7325 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001668/0.417, allocations: 15.92 kB / 0.9908 GB, free: 5.016 MB / 0.7325 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.684e-05/0.417, allocations: 15.92 kB / 0.9908 GB, free: 5 MB / 0.7325 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/0.417, allocations: 11.98 kB / 0.9908 GB, free: 4.988 MB / 0.7325 GB
Notification: Performance of sorting global known variables: time 0.0001798/0.4172, allocations: 176.5 kB / 0.9909 GB, free: 4.816 MB / 0.7325 GB
Notification: Performance of sort global known variables: time 7e-08/0.4172, allocations: 0 / 0.9909 GB, free: 4.816 MB / 0.7325 GB
Notification: Performance of remove unused functions: time 0.0003633/0.4176, allocations: 59.92 kB / 0.991 GB, free: 4.758 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.0003969/0.418, allocations: 143.6 kB / 0.9911 GB, free: 4.609 MB / 0.7325 GB
Notification: Performance of simCode: created initialization part: time 0.0004638/0.4184, allocations: 167.9 kB / 0.9913 GB, free: 4.445 MB / 0.7325 GB
Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.4184, allocations: 4.062 kB / 0.9913 GB, free: 4.441 MB / 0.7325 GB
Notification: Performance of simCode: created simulation system equations: time 0.0002183/0.4187, allocations: 95.8 kB / 0.9914 GB, free: 4.348 MB / 0.7325 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006958/0.4194, allocations: 122.8 kB / 0.9915 GB, free: 4.23 MB / 0.7325 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000845/0.4202, allocations: 460.1 kB / 0.992 GB, free: 3.734 MB / 0.7325 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000403/0.4206, allocations: 0.7519 MB / 0.9927 GB, free: 2.957 MB / 0.7325 GB
Notification: Performance of simCode: alias equations: time 0.0002034/0.4208, allocations: 65.84 kB / 0.9927 GB, free: 2.895 MB / 0.7325 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.55e-05/0.4209, allocations: 23.42 kB / 0.9928 GB, free: 2.871 MB / 0.7325 GB
Notification: Performance of SimCode: time 3.91e-07/0.4209, allocations: 0 / 0.9928 GB, free: 2.871 MB / 0.7325 GB
Notification: Performance of Templates: time 0.01041/0.4313, allocations: 4.571 MB / 0.9972 GB, free: 14.38 MB / 0.7481 GB
"
[Timeout remaining time 660]
make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.makefile [Timeout 660]
(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 & ./BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 6.3548164358362556]
Failed to read output from testmodel.py, exit status != 0:
0.4403791641816497 0.455831914 0.047230408
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f2b41a457b0>