Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.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.001544/0.001544, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001364/0.001364, allocations: 191.8 kB / 22.23 MB, free: 5.102 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.406/1.406, allocations: 225.6 MB / 251 MB, free: 13.02 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.002565/0.002565, allocations: 291.6 kB / 306.6 MB, free: 8.352 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.189/1.189, allocations: 180.9 MB / 0.53 GB, free: 14.45 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.FMI.Conversion.Validation.AirToOutletFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal")
translateModel(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002752/0.002752, allocations: 106.7 kB / 0.7309 GB, free: 38.71 MB / 0.545 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1844/0.1872, allocations: 94.2 MB / 0.8228 GB, free: 1.871 MB / 0.5606 GB
Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.7416/0.9288, allocations: 251 MB / 1.068 GB, free: 3.117 MB / 0.7481 GB
Notification: Performance of NFInst.instExpressions: time 0.021/0.9498, allocations: 22.56 MB / 1.09 GB, free: 2.711 MB / 0.7481 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001783/0.9516, allocations: 73.97 kB / 1.09 GB, free: 2.711 MB / 0.7481 GB
Notification: Performance of NFTyping.typeComponents: time 0.002215/0.9538, allocations: 0.9949 MB / 1.091 GB, free: 2.703 MB / 0.7481 GB
Notification: Performance of NFTyping.typeBindings: time 0.003488/0.9573, allocations: 1.54 MB / 1.093 GB, free: 2.641 MB / 0.7481 GB
Notification: Performance of NFTyping.typeClassSections: time 0.004301/0.9616, allocations: 2.014 MB / 1.094 GB, free: 2.562 MB / 0.7481 GB
Notification: Performance of NFFlatten.flatten: time 0.002956/0.9645, allocations: 2.711 MB / 1.097 GB, free: 2.496 MB / 0.7481 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.001173/0.9657, allocations: 0.9673 MB / 1.098 GB, free: 2.379 MB / 0.7481 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.002263/0.968, allocations: 1.386 MB / 1.099 GB, free: 2.262 MB / 0.7481 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.001006/0.969, allocations: 0.9583 MB / 1.1 GB, free: 2.113 MB / 0.7481 GB
Notification: Performance of NFPackage.collectConstants: time 0.0001349/0.9691, allocations: 108.3 kB / 1.1 GB, free: 2.113 MB / 0.7481 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.003121/0.9722, allocations: 1.806 MB / 1.102 GB, free: 2.094 MB / 0.7481 GB
Notification: Performance of NFScalarize.scalarize: time 0.0003259/0.9725, allocations: 390 kB / 1.103 GB, free: 2.031 MB / 0.7481 GB
Notification: Performance of NFVerifyModel.verify: time 0.0005725/0.9731, allocations: 0.6395 MB / 1.103 GB, free: 1.855 MB / 0.7481 GB
Notification: Performance of NFConvertDAE.convert: time 0.00284/0.976, allocations: 2.285 MB / 1.105 GB, free: 1.562 MB / 0.7481 GB
Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.976, allocations: 0 / 1.105 GB, free: 1.562 MB / 0.7481 GB
Notification: Performance of FrontEnd: time 1.693e-06/0.976, allocations: 4.562 kB / 1.105 GB, free: 1.562 MB / 0.7481 GB
Notification: Performance of Transformations before backend: time 2.882e-05/0.976, allocations: 0.8125 kB / 1.105 GB, free: 1.562 MB / 0.7481 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 224
 * Number of variables: 224
Notification: Performance of Generate backend data structure: time 0.001784/0.9778, allocations: 1.427 MB / 1.107 GB, free: 0.707 MB / 0.7481 GB
Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.9778, allocations: 8.219 kB / 1.107 GB, free: 0.707 MB / 0.7481 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001016/0.9788, allocations: 238.5 kB / 1.107 GB, free: 0.6289 MB / 0.7481 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001247/0.9801, allocations: 0.8548 MB / 1.108 GB, free: 180 kB / 0.7481 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001601/0.9802, allocations: 180.2 kB / 1.108 GB, free: 16.02 MB / 0.7637 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001047/0.9803, allocations: 96.03 kB / 1.108 GB, free: 15.99 MB / 0.7637 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001463/0.9818, allocations: 0.9302 MB / 1.109 GB, free: 15.57 MB / 0.7637 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.891e-05/0.9818, allocations: 0 / 1.109 GB, free: 15.57 MB / 0.7637 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.962e-05/0.9819, allocations: 37.16 kB / 1.109 GB, free: 15.54 MB / 0.7637 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.717e-05/0.9819, allocations: 27.72 kB / 1.109 GB, free: 15.54 MB / 0.7637 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001055/0.983, allocations: 0.6265 MB / 1.11 GB, free: 15.32 MB / 0.7637 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.004714/0.9877, allocations: 4.37 MB / 1.114 GB, free: 11.91 MB / 0.7637 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003647/0.988, allocations: 184.3 kB / 1.114 GB, free: 11.83 MB / 0.7637 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001861/0.9882, allocations: 140.5 kB / 1.114 GB, free: 11.78 MB / 0.7637 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0005223/0.9888, allocations: 125.2 kB / 1.114 GB, free: 11.76 MB / 0.7637 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/0.9888, allocations: 37.09 kB / 1.115 GB, free: 11.72 MB / 0.7637 GB
Notification: Performance of pre-optimization done (n=24): time 1.423e-06/0.9888, allocations: 2.625 kB / 1.115 GB, free: 11.72 MB / 0.7637 GB
Notification: Performance of matching and sorting (n=24): time 0.001019/0.9898, allocations: 464.3 kB / 1.115 GB, free: 11.53 MB / 0.7637 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.347e-05/0.9899, allocations: 56.59 kB / 1.115 GB, free: 11.46 MB / 0.7637 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001328/0.9912, allocations: 1.108 MB / 1.116 GB, free: 11.02 MB / 0.7637 GB
Notification: Performance of collectPreVariables (initialization): time 4.018e-05/0.9912, allocations: 36.67 kB / 1.116 GB, free: 10.98 MB / 0.7637 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0004592/0.9917, allocations: 0.5145 MB / 1.117 GB, free: 10.57 MB / 0.7637 GB
Notification: Performance of collectInitialBindings (initialization): time 7.755e-05/0.9918, allocations: 94.91 kB / 1.117 GB, free: 10.5 MB / 0.7637 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001698/0.9919, allocations: 92.91 kB / 1.117 GB, free: 10.45 MB / 0.7637 GB
Notification: Performance of setup shared object (initialization): time 0.000148/0.9921, allocations: 323.6 kB / 1.117 GB, free: 10.14 MB / 0.7637 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002363/0.9923, allocations: 129.1 kB / 1.117 GB, free: 10.1 MB / 0.7637 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004956/0.9928, allocations: 381.4 kB / 1.118 GB, free: 9.727 MB / 0.7637 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0006212/0.9934, allocations: 477.4 kB / 1.118 GB, free: 9.344 MB / 0.7637 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.9934, allocations: 2.375 kB / 1.118 GB, free: 9.344 MB / 0.7637 GB
Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009439/0.9944, allocations: 0.547 MB / 1.119 GB, free: 9.078 MB / 0.7637 GB
Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.9944, allocations: 9.75 kB / 1.119 GB, free: 9.078 MB / 0.7637 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.9944, allocations: 5.062 kB / 1.119 GB, free: 9.078 MB / 0.7637 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.16e-05/0.9944, allocations: 13.88 kB / 1.119 GB, free: 9.074 MB / 0.7637 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003461/0.9948, allocations: 88.58 kB / 1.119 GB, free: 9.062 MB / 0.7637 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.339e-05/0.9948, allocations: 10.97 kB / 1.119 GB, free: 9.062 MB / 0.7637 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006541/0.9954, allocations: 100.4 kB / 1.119 GB, free: 8.996 MB / 0.7637 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.144e-05/0.9955, allocations: 26.12 kB / 1.119 GB, free: 8.992 MB / 0.7637 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 28
 * 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 (48):
 * Single equations (assignments): 48
 * 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.0003657/0.9959, allocations: 296.3 kB / 1.119 GB, free: 8.773 MB / 0.7637 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000136/0.996, allocations: 103.6 kB / 1.119 GB, free: 8.719 MB / 0.7637 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007102/0.9967, allocations: 433.5 kB / 1.12 GB, free: 8.453 MB / 0.7637 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-06/0.9967, allocations: 2.469 kB / 1.12 GB, free: 8.453 MB / 0.7637 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.9967, allocations: 2.844 kB / 1.12 GB, free: 8.453 MB / 0.7637 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.9967, allocations: 0 / 1.12 GB, free: 8.453 MB / 0.7637 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002177/0.9989, allocations: 1.528 MB / 1.121 GB, free: 7.34 MB / 0.7637 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.173e-06/0.9989, allocations: 5.438 kB / 1.121 GB, free: 7.34 MB / 0.7637 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001676/0.9991, allocations: 47 kB / 1.121 GB, free: 7.328 MB / 0.7637 GB
Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/0.9991, allocations: 8.094 kB / 1.121 GB, free: 7.328 MB / 0.7637 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.094e-05/0.9991, allocations: 9.5 kB / 1.121 GB, free: 7.324 MB / 0.7637 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.216e-06/0.9991, allocations: 18.17 kB / 1.121 GB, free: 7.316 MB / 0.7637 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.9991, allocations: 6.875 kB / 1.121 GB, free: 7.316 MB / 0.7637 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006603/0.9998, allocations: 0.5788 MB / 1.122 GB, free: 6.844 MB / 0.7637 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0003495/1, allocations: 165.7 kB / 1.122 GB, free: 6.727 MB / 0.7637 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000121/1, allocations: 7.812 kB / 1.122 GB, free: 6.727 MB / 0.7637 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004302/1.001, allocations: 16.23 kB / 1.122 GB, free: 6.719 MB / 0.7637 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.187e-05/1.001, allocations: 32.97 kB / 1.122 GB, free: 6.699 MB / 0.7637 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.74e-05/1.001, allocations: 18.23 kB / 1.122 GB, free: 6.691 MB / 0.7637 GB
Notification: Performance of sorting global known variables: time 0.001034/1.002, allocations: 0.7777 MB / 1.123 GB, free: 6.254 MB / 0.7637 GB
Notification: Performance of sort global known variables: time 1.01e-07/1.002, allocations: 0 / 1.123 GB, free: 6.254 MB / 0.7637 GB
Notification: Performance of remove unused functions: time 0.0008378/1.003, allocations: 282.1 kB / 1.123 GB, free: 6.195 MB / 0.7637 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 19
 * 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 (24):
 * Single equations (assignments): 22
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 2
 * 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.000672/1.003, allocations: 346.5 kB / 1.123 GB, free: 6.004 MB / 0.7637 GB
Notification: Performance of simCode: created initialization part: time 0.000585/1.004, allocations: 338.3 kB / 1.124 GB, free: 5.867 MB / 0.7637 GB
Notification: Performance of simCode: created event and clocks part: time 6.191e-06/1.004, allocations: 0 / 1.124 GB, free: 5.867 MB / 0.7637 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001897/1.004, allocations: 137.1 kB / 1.124 GB, free: 5.816 MB / 0.7637 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00231/1.006, allocations: 0.5168 MB / 1.124 GB, free: 5.539 MB / 0.7637 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002202/1.009, allocations: 1.601 MB / 1.126 GB, free: 4.473 MB / 0.7637 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000721/1.009, allocations: 1.064 MB / 1.127 GB, free: 3.602 MB / 0.7637 GB
Notification: Performance of simCode: alias equations: time 0.0006457/1.01, allocations: 200 kB / 1.127 GB, free: 3.508 MB / 0.7637 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000156/1.01, allocations: 68.61 kB / 1.127 GB, free: 3.496 MB / 0.7637 GB
Notification: Performance of SimCode: time 7.41e-07/1.01, allocations: 0 / 1.127 GB, free: 3.496 MB / 0.7637 GB
Notification: Performance of Templates: time 0.03505/1.045, allocations: 18.94 MB / 1.146 GB, free: 3.355 MB / 0.7794 GB
"
[Timeout remaining time 659]
make -j1 -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.makefile [Timeout 660]
(rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & ./BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 7.328151066787541]
Failed to read output from testmodel.py, exit status != 0:
1.0531364362686872 1.068951239 0.089748279
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fd95b7697b0>