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.001639/0.001639, allocations: 117.7 kB / 17.13 MB, free: 5.758 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.001858/0.001858, allocations: 194.1 kB / 20.08 MB, free: 2.848 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.457/1.457, allocations: 225.6 MB / 248.5 MB, free: 3.641 MB / 190.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.002526/0.002526, allocations: 281 kB / 303.6 MB, free: 3.734 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.093/1.093, allocations: 180.9 MB / 0.5268 GB, free: 2.734 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.002905/0.002905, allocations: 99.84 kB / 0.7259 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5421/0.545, allocations: 94.16 MB / 0.8179 GB, free: 7.453 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.3021/0.8472, allocations: 250 MB / 1.062 GB, free: 6.258 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.03334/0.8805, allocations: 22.4 MB / 1.084 GB, free: 15.79 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002382/0.8829, allocations: 63.56 kB / 1.084 GB, free: 15.73 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 0.003364/0.8862, allocations: 1.002 MB / 1.085 GB, free: 14.72 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 0.004911/0.8912, allocations: 1.508 MB / 1.086 GB, free: 13.21 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.005649/0.8968, allocations: 1.968 MB / 1.088 GB, free: 11.25 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.00485/0.9017, allocations: 2.659 MB / 1.091 GB, free: 8.578 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002019/0.9037, allocations: 1.032 MB / 1.092 GB, free: 7.512 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003477/0.9071, allocations: 1.362 MB / 1.093 GB, free: 6.145 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002008/0.9092, allocations: 0.9611 MB / 1.094 GB, free: 5.18 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 0.0002389/0.9094, allocations: 108 kB / 1.094 GB, free: 5.074 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00426/0.9137, allocations: 1.773 MB / 1.096 GB, free: 3.297 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 0.0005845/0.9142, allocations: 390.7 kB / 1.096 GB, free: 2.914 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 0.0011/0.9153, allocations: 0.6337 MB / 1.097 GB, free: 2.277 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 0.004553/0.9199, allocations: 2.285 MB / 1.099 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.9199, allocations: 0 / 1.099 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.384e-06/0.9199, allocations: 0 / 1.099 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 3.527e-05/0.9199, allocations: 0 / 1.099 GB, free: 15.98 MB / 0.8419 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.002499/0.9224, allocations: 1.513 MB / 1.101 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.9225, allocations: 12.03 kB / 1.101 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001165/0.9236, allocations: 231 kB / 1.101 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001632/0.9253, allocations: 0.9202 MB / 1.102 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002104/0.9255, allocations: 188.8 kB / 1.102 GB, free: 13 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001264/0.9256, allocations: 91.94 kB / 1.102 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001656/0.9273, allocations: 0.9324 MB / 1.103 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.958e-05/0.9273, allocations: 0 / 1.103 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.822e-05/0.9274, allocations: 43.92 kB / 1.103 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.493e-05/0.9274, allocations: 24 kB / 1.103 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001184/0.9286, allocations: 0.6324 MB / 1.104 GB, free: 11.25 MB / 0.8419 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.005346/0.9339, allocations: 4.441 MB / 1.108 GB, free: 6.418 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004342/0.9344, allocations: 184.8 kB / 1.108 GB, free: 6.23 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002197/0.9346, allocations: 132.8 kB / 1.108 GB, free: 6.098 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001151/0.9357, allocations: 1.025 MB / 1.109 GB, free: 4.852 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.565e-05/0.9358, allocations: 38.56 kB / 1.109 GB, free: 4.805 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=24): time 2.354e-06/0.9358, allocations: 0 / 1.109 GB, free: 4.805 MB / 0.8419 GB Notification: Performance of matching and sorting (n=24): time 0.001196/0.937, allocations: 472.6 kB / 1.11 GB, free: 4.336 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.987e-05/0.937, allocations: 55.39 kB / 1.11 GB, free: 4.27 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001569/0.9386, allocations: 1.11 MB / 1.111 GB, free: 3.145 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.301e-05/0.9386, allocations: 33.7 kB / 1.111 GB, free: 3.105 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004906/0.9391, allocations: 0.5204 MB / 1.112 GB, free: 2.582 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 8.596e-05/0.9392, allocations: 91.22 kB / 1.112 GB, free: 2.492 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001817/0.9394, allocations: 90.08 kB / 1.112 GB, free: 2.398 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.9396, allocations: 326 kB / 1.112 GB, free: 2.074 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002553/0.9398, allocations: 132.8 kB / 1.112 GB, free: 1.945 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000512/0.9403, allocations: 383.1 kB / 1.113 GB, free: 1.461 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006606/0.941, allocations: 467.6 kB / 1.113 GB, free: 0.918 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.941, allocations: 0 / 1.113 GB, free: 0.918 MB / 0.8419 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001003/0.942, allocations: 0.5471 MB / 1.114 GB, free: 372 kB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/0.942, allocations: 11.94 kB / 1.114 GB, free: 360 kB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/0.942, allocations: 8 kB / 1.114 GB, free: 352 kB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.374e-05/0.9421, allocations: 8.688 kB / 1.114 GB, free: 344 kB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003822/0.9424, allocations: 87.83 kB / 1.114 GB, free: 256 kB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.7e-05/0.9425, allocations: 15.94 kB / 1.114 GB, free: 240 kB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007059/0.9432, allocations: 99.27 kB / 1.114 GB, free: 140 kB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.306e-05/0.9432, allocations: 27.98 kB / 1.114 GB, free: 112 kB / 0.8419 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.0004522/0.9437, allocations: 286.4 kB / 1.114 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001618/0.9438, allocations: 111.2 kB / 1.114 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000809/0.9446, allocations: 427 kB / 1.115 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-06/0.9447, allocations: 4 kB / 1.115 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.9447, allocations: 0 / 1.115 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.728e-06/0.9447, allocations: 7.984 kB / 1.115 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002352/0.947, allocations: 1.554 MB / 1.116 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.226e-06/0.947, allocations: 7.938 kB / 1.116 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001764/0.9472, allocations: 43.86 kB / 1.116 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.003e-06/0.9472, allocations: 4 kB / 1.116 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.663e-05/0.9472, allocations: 15.98 kB / 1.116 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/0.9472, allocations: 4 kB / 1.116 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/0.9473, allocations: 8.438 kB / 1.116 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007319/0.948, allocations: 0.5814 MB / 1.117 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003565/0.9483, allocations: 244.2 kB / 1.117 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/0.9485, allocations: 8 kB / 1.117 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004119/0.9489, allocations: 15.98 kB / 1.117 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.359e-05/0.9489, allocations: 35.84 kB / 1.117 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.939e-05/0.949, allocations: 19.94 kB / 1.117 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001152/0.9501, allocations: 0.7744 MB / 1.118 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9e-08/0.9501, allocations: 0 / 1.118 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000996/0.9511, allocations: 283.4 kB / 1.118 GB, free: 11.49 MB / 0.8575 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.0007545/0.9519, allocations: 344.4 kB / 1.118 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0007313/0.9526, allocations: 340.4 kB / 1.119 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 9.047e-06/0.9526, allocations: 0 / 1.119 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002203/0.9528, allocations: 131.8 kB / 1.119 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00232/0.9551, allocations: 0.5169 MB / 1.119 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002673/0.9578, allocations: 1.652 MB / 1.121 GB, free: 8.434 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007941/0.9586, allocations: 1.067 MB / 1.122 GB, free: 7.34 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002356/0.9588, allocations: 67.44 kB / 1.122 GB, free: 7.273 MB / 0.8575 GB Notification: Performance of SimCode: time 9.11e-07/0.9588, allocations: 0 / 1.122 GB, free: 7.273 MB / 0.8575 GB Notification: Performance of Templates: time 0.02927/0.9881, allocations: 17.31 MB / 1.139 GB, free: 6.113 MB / 0.8731 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: 12.237022736109793] Failed to read output from testmodel.py, exit status != 0: 0.9972930999938399 1.340312396 0.41755174500000003 Calling exit ...