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.001629/0.001629, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.00139/0.00139, allocations: 219.8 kB / 22.26 MB, free: 5.125 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.423/1.423, allocations: 230.6 MB / 256 MB, free: 7.98 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.002466/0.002466, allocations: 277.7 kB / 312.7 MB, free: 2.805 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.184/1.184, allocations: 180.6 MB / 0.5369 GB, free: 13.03 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: "" <> buildModelFMU(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal",fmuType="me",version="2.0",platforms={"static"}) [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.002861/0.002861, allocations: 103.2 kB / 0.7396 GB, free: 28.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1598, allocations: 95.38 MB / 0.8327 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.6439/0.8036, allocations: 254.1 MB / 1.081 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02764/0.8313, allocations: 22.63 MB / 1.103 GB, free: 1.004 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002444/0.8337, allocations: 72.78 kB / 1.103 GB, free: 1.004 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.00251/0.8362, allocations: 0.9926 MB / 1.104 GB, free: 492 kB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.004149/0.8404, allocations: 1.543 MB / 1.106 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.00497/0.8453, allocations: 2.033 MB / 1.108 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.00358/0.8489, allocations: 2.698 MB / 1.11 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001469/0.8504, allocations: 0.9672 MB / 1.111 GB, free: 12.4 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002749/0.8531, allocations: 1.381 MB / 1.112 GB, free: 11.57 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00145/0.8546, allocations: 0.9759 MB / 1.113 GB, free: 10.98 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001431/0.8547, allocations: 111.5 kB / 1.114 GB, free: 10.98 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003716/0.8584, allocations: 1.852 MB / 1.115 GB, free: 9.508 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0004786/0.8589, allocations: 386.7 kB / 1.116 GB, free: 9.129 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0009004/0.8598, allocations: 0.6376 MB / 1.116 GB, free: 8.488 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.003664/0.8635, allocations: 2.363 MB / 1.119 GB, free: 6.117 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.8635, allocations: 0 / 1.119 GB, free: 6.117 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.322e-06/0.8635, allocations: 0 / 1.119 GB, free: 6.117 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.943e-05/0.8635, allocations: 0 / 1.119 GB, free: 6.117 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.002307/0.8658, allocations: 1.438 MB / 1.12 GB, free: 4.641 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.8658, allocations: 13.34 kB / 1.12 GB, free: 4.629 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001674/0.866, allocations: 139.5 kB / 1.12 GB, free: 4.484 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001042/0.8671, allocations: 231 kB / 1.12 GB, free: 4.258 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001769/0.8688, allocations: 0.8442 MB / 1.121 GB, free: 3.387 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002611/0.8691, allocations: 291.6 kB / 1.122 GB, free: 3.051 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002035/0.8693, allocations: 92 kB / 1.122 GB, free: 2.961 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001492/0.8708, allocations: 0.9284 MB / 1.123 GB, free: 2 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.968e-05/0.8708, allocations: 0 / 1.123 GB, free: 2 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.976e-05/0.8709, allocations: 36 kB / 1.123 GB, free: 1.965 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.667e-05/0.8709, allocations: 27.94 kB / 1.123 GB, free: 1.938 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001182/0.8721, allocations: 0.6324 MB / 1.123 GB, free: 1.301 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.005109/0.8772, allocations: 4.374 MB / 1.127 GB, free: 12.54 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003996/0.8776, allocations: 178.7 kB / 1.128 GB, free: 12.36 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002148/0.8778, allocations: 140.7 kB / 1.128 GB, free: 12.22 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005897/0.8784, allocations: 123.9 kB / 1.128 GB, free: 12.1 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/0.8784, allocations: 38.66 kB / 1.128 GB, free: 12.05 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=24): time 2.154e-06/0.8784, allocations: 3.938 kB / 1.128 GB, free: 12.05 MB / 0.7637 GB Notification: Performance of matching and sorting (n=24): time 0.001137/0.8796, allocations: 479 kB / 1.128 GB, free: 11.57 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.891e-05/0.8796, allocations: 55.41 kB / 1.128 GB, free: 11.51 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001564/0.8812, allocations: 1.106 MB / 1.13 GB, free: 10.39 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 3.987e-05/0.8812, allocations: 29.7 kB / 1.13 GB, free: 10.35 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004788/0.8817, allocations: 0.5204 MB / 1.13 GB, free: 9.828 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 7.723e-05/0.8818, allocations: 91.25 kB / 1.13 GB, free: 9.738 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001732/0.882, allocations: 102 kB / 1.13 GB, free: 9.633 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.8821, allocations: 322 kB / 1.131 GB, free: 9.312 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002432/0.8824, allocations: 132.8 kB / 1.131 GB, free: 9.184 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005204/0.8829, allocations: 384.3 kB / 1.131 GB, free: 8.699 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007114/0.8836, allocations: 467.5 kB / 1.131 GB, free: 8.156 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/0.8836, allocations: 4 kB / 1.131 GB, free: 8.152 MB / 0.7637 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001041/0.8846, allocations: 0.5432 MB / 1.132 GB, free: 7.602 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.8847, allocations: 8 kB / 1.132 GB, free: 7.594 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.8847, allocations: 4 kB / 1.132 GB, free: 7.59 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.551e-05/0.8847, allocations: 11.94 kB / 1.132 GB, free: 7.578 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003588/0.885, allocations: 93.39 kB / 1.132 GB, free: 7.488 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.397e-05/0.8851, allocations: 8 kB / 1.132 GB, free: 7.48 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006303/0.8857, allocations: 99.27 kB / 1.132 GB, free: 7.383 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.623e-05/0.8857, allocations: 28 kB / 1.132 GB, free: 7.355 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.0004087/0.8862, allocations: 286.2 kB / 1.133 GB, free: 7.066 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001585/0.8863, allocations: 111.3 kB / 1.133 GB, free: 6.957 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007721/0.8871, allocations: 436.5 kB / 1.133 GB, free: 6.516 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/0.8871, allocations: 3.938 kB / 1.133 GB, free: 6.512 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.8871, allocations: 1.125 kB / 1.133 GB, free: 6.512 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.8871, allocations: 4.281 kB / 1.133 GB, free: 6.508 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002283/0.8894, allocations: 1.522 MB / 1.135 GB, free: 4.883 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.184e-06/0.8894, allocations: 4 kB / 1.135 GB, free: 4.879 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001703/0.8896, allocations: 39.92 kB / 1.135 GB, free: 4.84 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.135e-05/0.8896, allocations: 11.92 kB / 1.135 GB, free: 4.828 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.394e-05/0.8896, allocations: 15.98 kB / 1.135 GB, free: 4.812 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.648e-06/0.8896, allocations: 14.73 kB / 1.135 GB, free: 4.801 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.902e-06/0.8896, allocations: 8 kB / 1.135 GB, free: 4.793 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006786/0.8903, allocations: 0.5819 MB / 1.135 GB, free: 4.145 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003471/0.8906, allocations: 167.1 kB / 1.135 GB, free: 3.98 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000113/0.8908, allocations: 15.94 kB / 1.135 GB, free: 3.965 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004112/0.8912, allocations: 15.97 kB / 1.135 GB, free: 3.949 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.285e-05/0.8912, allocations: 35.84 kB / 1.135 GB, free: 3.914 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.352e-05/0.8912, allocations: 12 kB / 1.135 GB, free: 3.902 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001115/0.8924, allocations: 0.7822 MB / 1.136 GB, free: 3.113 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8924, allocations: 0 / 1.136 GB, free: 3.113 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0008711/0.8932, allocations: 291.4 kB / 1.136 GB, free: 2.828 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.001388/0.8946, allocations: 1.323 MB / 1.138 GB, free: 1.426 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0006372/0.8953, allocations: 329.5 kB / 1.138 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.8953, allocations: 0 / 1.138 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0002521/0.8955, allocations: 143.9 kB / 1.138 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002184/0.8977, allocations: 0.5074 MB / 1.139 GB, free: 484 kB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01058/0.9083, allocations: 7.45 MB / 1.146 GB, free: 8.605 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007644/0.909, allocations: 1.07 MB / 1.147 GB, free: 7.508 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0007525/0.9098, allocations: 197.1 kB / 1.147 GB, free: 7.316 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004787/0.9103, allocations: 363.3 kB / 1.148 GB, free: 6.961 MB / 0.7794 GB Notification: Performance of SimCode: time 1.283e-06/0.9103, allocations: 4 kB / 1.148 GB, free: 6.957 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06635/0.9766, allocations: 28.47 MB / 1.175 GB, free: 10.88 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.48/13.46, allocations: 7.25 kB / 1.175 GB, free: 10.87 MB / 0.8106 GB " [Timeout remaining time 646] (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.fmu > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.56314955400012] Failed to read output from testmodel.py, exit status != 0: 13.579183228001057 13.600124907 12.733181781 Calling exit ...