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.001306/0.001306, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 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.001425/0.001425, allocations: 210.6 kB / 23.01 MB, free: 4.57 MB / 14.72 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 1.407/1.407, allocations: 230.6 MB / 256.8 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] 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.002501/0.002501, allocations: 287.8 kB / 313.5 MB, free: 2.836 MB / 238.1 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 1.231/1.231, allocations: 180.6 MB / 0.5377 GB, free: 12.92 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 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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002906/0.002906, allocations: 103.4 kB / 0.7408 GB, free: 27.93 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1725/0.1754, allocations: 95.38 MB / 0.834 GB, free: 8.141 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.7333/0.9087, allocations: 254.1 MB / 1.082 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02899/0.9377, allocations: 22.61 MB / 1.104 GB, free: 0.7578 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002875/0.9406, allocations: 73.47 kB / 1.104 GB, free: 0.7578 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.003838/0.9444, allocations: 1.002 MB / 1.105 GB, free: 232 kB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.005982/0.9504, allocations: 1.548 MB / 1.107 GB, free: 15.33 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.006416/0.9568, allocations: 2.03 MB / 1.109 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.005234/0.9621, allocations: 2.696 MB / 1.111 GB, free: 12.76 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00244/0.9645, allocations: 0.9727 MB / 1.112 GB, free: 12.06 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003998/0.9685, allocations: 1.388 MB / 1.114 GB, free: 11.22 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00249/0.971, allocations: 0.9675 MB / 1.115 GB, free: 10.64 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0004996/0.9715, allocations: 107.2 kB / 1.115 GB, free: 10.64 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005191/0.9767, allocations: 1.861 MB / 1.117 GB, free: 9.18 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0008552/0.9775, allocations: 390.7 kB / 1.117 GB, free: 8.797 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001881/0.9794, allocations: 0.6338 MB / 1.118 GB, free: 8.16 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.00627/0.9857, allocations: 2.355 MB / 1.12 GB, free: 5.797 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.261e-06/0.9857, allocations: 0 / 1.12 GB, free: 5.797 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.973e-06/0.9857, allocations: 0 / 1.12 GB, free: 5.797 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 8.651e-05/0.9858, allocations: 0 / 1.12 GB, free: 5.797 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.003868/0.9896, allocations: 1.446 MB / 1.121 GB, free: 4.312 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/0.9897, allocations: 9.344 kB / 1.121 GB, free: 4.305 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001444/0.9911, allocations: 227.1 kB / 1.122 GB, free: 4.082 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002129/0.9933, allocations: 0.8403 MB / 1.122 GB, free: 3.215 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002845/0.9935, allocations: 291.6 kB / 1.123 GB, free: 2.879 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001965/0.9937, allocations: 95.94 kB / 1.123 GB, free: 2.785 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001873/0.9956, allocations: 0.9284 MB / 1.124 GB, free: 1.824 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.64e-05/0.9956, allocations: 7.938 kB / 1.124 GB, free: 1.816 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.069e-05/0.9957, allocations: 40 kB / 1.124 GB, free: 1.777 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.115e-05/0.9957, allocations: 20 kB / 1.124 GB, free: 1.758 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001291/0.997, allocations: 0.6324 MB / 1.124 GB, free: 1.121 MB / 0.7481 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.005842/1.003, allocations: 4.373 MB / 1.129 GB, free: 12.36 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004419/1.003, allocations: 186.6 kB / 1.129 GB, free: 12.18 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002178/1.004, allocations: 132.8 kB / 1.129 GB, free: 12.04 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005921/1.004, allocations: 123.9 kB / 1.129 GB, free: 11.92 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/1.004, allocations: 34.56 kB / 1.129 GB, free: 11.88 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=24): time 2.134e-06/1.004, allocations: 0 / 1.129 GB, free: 11.88 MB / 0.7637 GB Notification: Performance of matching and sorting (n=24): time 0.0012/1.005, allocations: 475 kB / 1.129 GB, free: 11.41 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.617e-05/1.005, allocations: 59.34 kB / 1.13 GB, free: 11.34 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001657/1.007, allocations: 1.106 MB / 1.131 GB, free: 10.22 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 5.944e-05/1.007, allocations: 37.64 kB / 1.131 GB, free: 10.18 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004843/1.008, allocations: 0.5204 MB / 1.131 GB, free: 9.652 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 8.817e-05/1.008, allocations: 91.2 kB / 1.131 GB, free: 9.562 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001682/1.008, allocations: 98.03 kB / 1.131 GB, free: 9.461 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001447/1.008, allocations: 322 kB / 1.132 GB, free: 9.141 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002434/1.008, allocations: 124.8 kB / 1.132 GB, free: 9.02 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004934/1.009, allocations: 388.3 kB / 1.132 GB, free: 8.531 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000647/1.009, allocations: 467.5 kB / 1.133 GB, free: 7.988 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.468e-06/1.009, allocations: 4 kB / 1.133 GB, free: 7.984 MB / 0.7637 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001074/1.01, allocations: 0.5393 MB / 1.133 GB, free: 7.438 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/1.011, allocations: 8.688 kB / 1.133 GB, free: 7.43 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.663e-05/1.011, allocations: 15.94 kB / 1.133 GB, free: 7.414 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.907e-05/1.011, allocations: 8 kB / 1.133 GB, free: 7.406 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003883/1.011, allocations: 91.83 kB / 1.133 GB, free: 7.316 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.939e-05/1.011, allocations: 11.94 kB / 1.133 GB, free: 7.305 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007488/1.012, allocations: 95.33 kB / 1.133 GB, free: 7.211 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.87e-05/1.012, allocations: 20 kB / 1.133 GB, free: 7.191 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.0004357/1.012, allocations: 294.2 kB / 1.134 GB, free: 6.895 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002096/1.012, allocations: 111.3 kB / 1.134 GB, free: 6.785 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008335/1.013, allocations: 439.4 kB / 1.134 GB, free: 6.34 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.227e-05/1.013, allocations: 4 kB / 1.134 GB, free: 6.336 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/1.013, allocations: 0 / 1.134 GB, free: 6.336 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/1.013, allocations: 3.984 kB / 1.134 GB, free: 6.332 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002659/1.016, allocations: 1.53 MB / 1.136 GB, free: 4.699 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.008e-05/1.016, allocations: 4 kB / 1.136 GB, free: 4.695 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000183/1.016, allocations: 43.92 kB / 1.136 GB, free: 4.652 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.14e-05/1.016, allocations: 12.5 kB / 1.136 GB, free: 4.641 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.531e-05/1.016, allocations: 15.98 kB / 1.136 GB, free: 4.625 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.336e-06/1.016, allocations: 8 kB / 1.136 GB, free: 4.617 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.812e-06/1.016, allocations: 7.938 kB / 1.136 GB, free: 4.609 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007465/1.017, allocations: 0.5735 MB / 1.136 GB, free: 3.969 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004358/1.017, allocations: 167.1 kB / 1.136 GB, free: 3.805 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001981/1.018, allocations: 8 kB / 1.136 GB, free: 3.797 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004699/1.018, allocations: 16.73 kB / 1.136 GB, free: 3.781 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.978e-05/1.018, allocations: 43.77 kB / 1.137 GB, free: 3.738 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.584e-05/1.018, allocations: 12 kB / 1.137 GB, free: 3.727 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001177/1.019, allocations: 0.7744 MB / 1.137 GB, free: 2.945 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.3e-07/1.019, allocations: 4 kB / 1.137 GB, free: 2.941 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001067/1.02, allocations: 287.4 kB / 1.138 GB, free: 2.66 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.0006374/1.021, allocations: 308.9 kB / 1.138 GB, free: 2.352 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0007336/1.022, allocations: 332.6 kB / 1.138 GB, free: 2.027 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 8.145e-06/1.022, allocations: 4 kB / 1.138 GB, free: 2.023 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0002389/1.022, allocations: 135.9 kB / 1.138 GB, free: 1.891 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002451/1.024, allocations: 0.5144 MB / 1.139 GB, free: 1.387 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002975/1.027, allocations: 1.649 MB / 1.14 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008855/1.028, allocations: 1.063 MB / 1.141 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002541/1.029, allocations: 79.42 kB / 1.142 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of SimCode: time 8.01e-07/1.029, allocations: 0 / 1.142 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of Templates: time 0.03153/1.06, allocations: 17.28 MB / 1.158 GB, free: 13.33 MB / 0.795 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.109443760011345] Failed to read output from testmodel.py, exit status != 0: 1.0688706520013511 1.084952513 0.09592730499999995 Calling exit ...