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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007259/0.0007259, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007493/0.0007493, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8416/0.8416, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001412/0.001412, allocations: 230.4 kB / 260.2 MB, free: 13.03 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6525/0.6525, allocations: 138.4 MB / 455.1 MB, free: 30.01 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 1.643e-06/1.643e-06, allocations: 0 / 0.6475 GB, free: 1.355 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.788e-05/1.953e-05, allocations: 5.375 kB / 0.6475 GB, free: 1.352 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.3879/0.3879, allocations: 221.6 MB / 0.8639 GB, free: 12.87 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01528/0.4032, allocations: 20.44 MB / 0.8839 GB, free: 8.363 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009168/0.4041, allocations: 71.38 kB / 0.884 GB, free: 8.293 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001719/0.4058, allocations: 1.001 MB / 0.885 GB, free: 7.285 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.002085/0.4079, allocations: 1.554 MB / 0.8865 GB, free: 5.723 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.00289/0.4108, allocations: 2.034 MB / 0.8885 GB, free: 3.691 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.00168/0.4125, allocations: 2.705 MB / 0.8911 GB, free: 0.9805 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008214/0.4133, allocations: 0.9665 MB / 0.892 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001531/0.4148, allocations: 1.757 MB / 0.8938 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007126/0.4155, allocations: 0.818 MB / 0.8946 GB, free: 13.4 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 9.598e-05/0.4156, allocations: 112 kB / 0.8947 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001626/0.4172, allocations: 1.429 MB / 0.8961 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0002483/0.4175, allocations: 406.6 kB / 0.8964 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0002887/0.4178, allocations: 431.1 kB / 0.8969 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.001721/0.4195, allocations: 2.337 MB / 0.8991 GB, free: 8.691 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.4195, allocations: 0 / 0.8991 GB, free: 8.691 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.505e-06/0.4195, allocations: 0 / 0.8991 GB, free: 8.691 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.16e-05/0.4195, allocations: 0 / 0.8991 GB, free: 8.691 MB / 0.7292 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.001275/0.4208, allocations: 1.426 MB / 0.9005 GB, free: 7.227 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.4208, allocations: 13.94 kB / 0.9005 GB, free: 7.215 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005866/0.4214, allocations: 231.1 kB / 0.9008 GB, free: 6.988 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001048/0.4225, allocations: 0.8419 MB / 0.9016 GB, free: 6.117 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001486/0.4226, allocations: 294.2 kB / 0.9019 GB, free: 5.781 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.94e-05/0.4227, allocations: 92 kB / 0.902 GB, free: 5.691 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009228/0.4236, allocations: 0.9246 MB / 0.9029 GB, free: 4.734 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/0.4236, allocations: 3.938 kB / 0.9029 GB, free: 4.73 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.472e-05/0.4237, allocations: 36 kB / 0.9029 GB, free: 4.695 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.344e-05/0.4237, allocations: 28 kB / 0.9029 GB, free: 4.668 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007244/0.4244, allocations: 0.6285 MB / 0.9035 GB, free: 4.035 MB / 0.7292 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.002235/0.4267, allocations: 2.627 MB / 0.9061 GB, free: 1.348 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002623/0.4269, allocations: 182.8 kB / 0.9063 GB, free: 1.16 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001324/0.4271, allocations: 134.6 kB / 0.9064 GB, free: 1.027 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002654/0.4273, allocations: 135.9 kB / 0.9065 GB, free: 0.8945 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.4273, allocations: 34.5 kB / 0.9066 GB, free: 0.8516 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=24): time 1.713e-06/0.4273, allocations: 2.156 kB / 0.9066 GB, free: 0.8516 MB / 0.7292 GB Notification: Performance of matching and sorting (n=24): time 0.0006018/0.4279, allocations: 452.3 kB / 0.907 GB, free: 416 kB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.927e-05/0.428, allocations: 51.41 kB / 0.9071 GB, free: 352 kB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005652/0.4285, allocations: 0.7036 MB / 0.9077 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.376e-05/0.4286, allocations: 33.69 kB / 0.9078 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003532/0.4289, allocations: 0.5386 MB / 0.9083 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.125e-05/0.429, allocations: 91.25 kB / 0.9084 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.043e-05/0.429, allocations: 98.09 kB / 0.9085 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.936e-05/0.4291, allocations: 378.8 kB / 0.9088 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001467/0.4293, allocations: 124.9 kB / 0.909 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003446/0.4296, allocations: 0.734 MB / 0.9097 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003672/0.43, allocations: 467.5 kB / 0.9101 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.43, allocations: 0 / 0.9101 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005251/0.4305, allocations: 0.5089 MB / 0.9106 GB, free: 12.37 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.4305, allocations: 12.05 kB / 0.9106 GB, free: 12.36 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.4306, allocations: 8 kB / 0.9106 GB, free: 12.35 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.4306, allocations: 8 kB / 0.9106 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001901/0.4308, allocations: 87.84 kB / 0.9107 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.518e-05/0.4308, allocations: 23.86 kB / 0.9108 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002175/0.431, allocations: 43.72 kB / 0.9108 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.686e-05/0.431, allocations: 27.98 kB / 0.9108 GB, free: 12.16 MB / 0.7448 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.0002493/0.4313, allocations: 282.9 kB / 0.9111 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.216e-05/0.4313, allocations: 75.81 kB / 0.9112 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004445/0.4318, allocations: 403 kB / 0.9115 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.4318, allocations: 7.984 kB / 0.9116 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.4318, allocations: 0 / 0.9116 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.4318, allocations: 7.922 kB / 0.9116 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001185/0.433, allocations: 1.328 MB / 0.9129 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.433, allocations: 6.438 kB / 0.9129 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.287e-05/0.4331, allocations: 51.34 kB / 0.9129 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.778e-06/0.4331, allocations: 4 kB / 0.9129 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.4331, allocations: 8.562 kB / 0.9129 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.4331, allocations: 8 kB / 0.9129 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.4331, allocations: 11.94 kB / 0.9129 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003762/0.4335, allocations: 0.5383 MB / 0.9135 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001254/0.4336, allocations: 115.4 kB / 0.9136 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.602e-05/0.4337, allocations: 15.95 kB / 0.9136 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001376/0.4338, allocations: 4 kB / 0.9136 GB, free: 9.145 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.049e-05/0.4338, allocations: 31.84 kB / 0.9136 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.4338, allocations: 23.92 kB / 0.9137 GB, free: 9.09 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0003843/0.4342, allocations: 491 kB / 0.9141 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.4342, allocations: 0 / 0.9141 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0005121/0.4347, allocations: 323 kB / 0.9144 GB, free: 8.301 MB / 0.7448 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.0004847/0.4352, allocations: 320.2 kB / 0.9147 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003979/0.4356, allocations: 333.6 kB / 0.9151 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.4356, allocations: 4 kB / 0.9151 GB, free: 7.656 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.000132/0.4358, allocations: 139.7 kB / 0.9152 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007619/0.4365, allocations: 268.7 kB / 0.9154 GB, free: 7.281 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001461/0.438, allocations: 1.582 MB / 0.917 GB, free: 5.605 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003312/0.4383, allocations: 475.8 kB / 0.9174 GB, free: 5.109 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/0.4384, allocations: 60.48 kB / 0.9175 GB, free: 5.051 MB / 0.7448 GB Notification: Performance of SimCode: time 5.81e-07/0.4384, allocations: 0 / 0.9175 GB, free: 5.051 MB / 0.7448 GB Notification: Performance of Templates: time 0.01147/0.4499, allocations: 14.3 MB / 0.9315 GB, free: 6.914 MB / 0.7605 GB " [Timeout remaining time 660] 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: 6.3195296209305525] Failed to read output from testmodel.py, exit status != 0: 0.4550512470304966 0.69441458 0.273130828 Calling exit ...