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.001346/0.001346, allocations: 114.7 kB / 17.17 MB, free: 5.98 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.001439/0.001439, allocations: 212 kB / 20.13 MB, free: 3.035 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.498/1.498, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.003868/0.003868, allocations: 281.4 kB / 309.8 MB, free: 3.438 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.063/1.063, allocations: 180.6 MB / 0.5338 GB, free: 12.37 MB / 398.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal",fmuType="cs",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.002955/0.002955, allocations: 107.8 kB / 0.7347 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5099/0.5128, allocations: 95.34 MB / 0.8278 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.2932/0.806, allocations: 253.2 MB / 1.075 GB, free: 12.08 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.02958/0.8356, allocations: 22.44 MB / 1.097 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001697/0.8373, allocations: 79.31 kB / 1.097 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.002886/0.8402, allocations: 0.9898 MB / 1.098 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.004497/0.8447, allocations: 1.528 MB / 1.1 GB, free: 2.961 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.005364/0.8501, allocations: 1.961 MB / 1.101 GB, free: 1.004 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.004418/0.8545, allocations: 2.674 MB / 1.104 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001973/0.8565, allocations: 1.032 MB / 1.105 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003795/0.8603, allocations: 1.37 MB / 1.106 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002049/0.8623, allocations: 0.965 MB / 1.107 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001864/0.8625, allocations: 112 kB / 1.107 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004009/0.8665, allocations: 1.824 MB / 1.109 GB, free: 8.973 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0005253/0.867, allocations: 382.7 kB / 1.11 GB, free: 8.598 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0009042/0.8679, allocations: 0.6376 MB / 1.11 GB, free: 7.957 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.00501/0.8729, allocations: 2.355 MB / 1.113 GB, free: 5.594 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.8729, allocations: 0 / 1.113 GB, free: 5.594 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.573e-06/0.8729, allocations: 3.938 kB / 1.113 GB, free: 5.59 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 3.269e-05/0.873, allocations: 0 / 1.113 GB, free: 5.59 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.002875/0.8759, allocations: 1.501 MB / 1.114 GB, free: 4.031 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.8759, allocations: 16.03 kB / 1.114 GB, free: 4.016 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.978e-05/0.8759, allocations: 22 kB / 1.114 GB, free: 3.996 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001592/0.8761, allocations: 143.5 kB / 1.114 GB, free: 3.848 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001135/0.8772, allocations: 231 kB / 1.114 GB, free: 3.621 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001443/0.8787, allocations: 0.9241 MB / 1.115 GB, free: 2.652 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001977/0.8789, allocations: 192.7 kB / 1.115 GB, free: 2.441 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000124/0.879, allocations: 91.98 kB / 1.116 GB, free: 2.352 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001512/0.8805, allocations: 0.9285 MB / 1.116 GB, free: 1.387 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.873e-05/0.8805, allocations: 0 / 1.116 GB, free: 1.387 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.501e-05/0.8806, allocations: 39.94 kB / 1.116 GB, free: 1.348 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.488e-05/0.8806, allocations: 24 kB / 1.117 GB, free: 1.324 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001143/0.8818, allocations: 0.6363 MB / 1.117 GB, free: 0.6875 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.004947/0.8867, allocations: 4.44 MB / 1.121 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004141/0.8871, allocations: 178.7 kB / 1.122 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002094/0.8873, allocations: 132.9 kB / 1.122 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001087/0.8884, allocations: 1.017 MB / 1.123 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/0.8885, allocations: 46.59 kB / 1.123 GB, free: 10.24 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=24): time 1.763e-06/0.8885, allocations: 3.938 kB / 1.123 GB, free: 10.24 MB / 0.8575 GB Notification: Performance of matching and sorting (n=24): time 0.001126/0.8896, allocations: 472.9 kB / 1.123 GB, free: 9.773 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.753e-05/0.8896, allocations: 55.34 kB / 1.123 GB, free: 9.707 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001534/0.8912, allocations: 1.106 MB / 1.124 GB, free: 8.586 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.183e-05/0.8912, allocations: 33.7 kB / 1.124 GB, free: 8.547 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004556/0.8917, allocations: 0.5204 MB / 1.125 GB, free: 8.023 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.891e-05/0.8918, allocations: 87.22 kB / 1.125 GB, free: 7.938 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001735/0.8919, allocations: 102 kB / 1.125 GB, free: 7.832 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.8921, allocations: 322 kB / 1.125 GB, free: 7.512 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002475/0.8923, allocations: 124.8 kB / 1.126 GB, free: 7.391 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004964/0.8928, allocations: 395.1 kB / 1.126 GB, free: 6.895 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00067/0.8935, allocations: 471.5 kB / 1.126 GB, free: 6.348 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.8935, allocations: 0 / 1.126 GB, free: 6.348 MB / 0.8575 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009671/0.8945, allocations: 0.547 MB / 1.127 GB, free: 5.793 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.8945, allocations: 8 kB / 1.127 GB, free: 5.785 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/0.8945, allocations: 8 kB / 1.127 GB, free: 5.777 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.667e-05/0.8945, allocations: 8.688 kB / 1.127 GB, free: 5.77 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003764/0.8949, allocations: 87.84 kB / 1.127 GB, free: 5.684 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.533e-05/0.8949, allocations: 15.98 kB / 1.127 GB, free: 5.668 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006442/0.8956, allocations: 91.34 kB / 1.127 GB, free: 5.578 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.037e-05/0.8956, allocations: 27.98 kB / 1.127 GB, free: 5.551 MB / 0.8575 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.0003731/0.896, allocations: 285.6 kB / 1.127 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001529/0.8961, allocations: 111.2 kB / 1.128 GB, free: 5.156 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007563/0.8969, allocations: 433.1 kB / 1.128 GB, free: 4.723 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.204e-05/0.8969, allocations: 11.92 kB / 1.128 GB, free: 4.711 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/0.8969, allocations: 4 kB / 1.128 GB, free: 4.707 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.8969, allocations: 0 / 1.128 GB, free: 4.707 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002316/0.8992, allocations: 1.554 MB / 1.129 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/0.8993, allocations: 4 kB / 1.129 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001772/0.8994, allocations: 43.91 kB / 1.129 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.175e-06/0.8994, allocations: 8 kB / 1.13 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.301e-05/0.8995, allocations: 12 kB / 1.13 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.726e-06/0.8995, allocations: 8.5 kB / 1.13 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.8995, allocations: 4 kB / 1.13 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006988/0.9002, allocations: 0.5859 MB / 1.13 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003237/0.9005, allocations: 236.3 kB / 1.13 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000114/0.9006, allocations: 15.95 kB / 1.13 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004189/0.901, allocations: 15.98 kB / 1.13 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.714e-05/0.9011, allocations: 35.84 kB / 1.13 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.501e-05/0.9011, allocations: 12.28 kB / 1.13 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0011/0.9022, allocations: 0.7783 MB / 1.131 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of sort global known variables: time 8e-08/0.9022, allocations: 0 / 1.131 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0009413/0.9032, allocations: 295.3 kB / 1.131 GB, free: 0.9062 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.001512/0.9047, allocations: 1.321 MB / 1.133 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0007331/0.9054, allocations: 327.6 kB / 1.133 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 6.171e-06/0.9054, allocations: 4.312 kB / 1.133 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002295/0.9056, allocations: 143.7 kB / 1.133 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002346/0.908, allocations: 0.5083 MB / 1.134 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01031/0.9183, allocations: 7.434 MB / 1.141 GB, free: 6.691 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007469/0.919, allocations: 1.07 MB / 1.142 GB, free: 5.594 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0007115/0.9198, allocations: 198 kB / 1.142 GB, free: 5.406 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004907/0.9202, allocations: 359.3 kB / 1.143 GB, free: 5.055 MB / 0.8731 GB Notification: Performance of SimCode: time 9.32e-07/0.9202, allocations: 4 kB / 1.143 GB, free: 5.051 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4043/1.324, allocations: 28.16 MB / 1.17 GB, free: 290.7 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.28/11.6, allocations: 11.22 kB / 1.17 GB, free: 290.7 MB / 0.8731 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 15.686926644993946] Failed to read output from testmodel.py, exit status != 0: 11.75599112501368 11.777991703 10.900709066 Calling exit ...