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.001344/0.001344, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001526/0.001526, allocations: 223.3 kB / 23.03 MB, free: 4.941 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.456/1.456, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.002538/0.002538, allocations: 294.9 kB / 313.5 MB, free: 2.629 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.197/1.197, allocations: 180.6 MB / 0.5377 GB, free: 14.61 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="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.002879/0.002879, allocations: 102.2 kB / 0.7403 GB, free: 28.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1788/0.1816, allocations: 95.39 MB / 0.8334 GB, free: 8.348 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.6633/0.845, allocations: 222.1 MB / 1.05 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02108/0.8661, allocations: 20.53 MB / 1.07 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001694/0.8678, allocations: 76.41 kB / 1.07 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002551/0.8703, allocations: 0.9844 MB / 1.071 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.003926/0.8742, allocations: 1.516 MB / 1.073 GB, free: 13 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.004905/0.8791, allocations: 1.965 MB / 1.075 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003547/0.8827, allocations: 2.697 MB / 1.077 GB, free: 11.33 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001453/0.8841, allocations: 0.9668 MB / 1.078 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002658/0.8868, allocations: 1.395 MB / 1.08 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001539/0.8883, allocations: 0.957 MB / 1.081 GB, free: 9.941 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001577/0.8885, allocations: 115.2 kB / 1.081 GB, free: 9.938 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003238/0.8917, allocations: 1.419 MB / 1.082 GB, free: 9.559 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004333/0.8922, allocations: 392.9 kB / 1.083 GB, free: 9.32 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0007038/0.8929, allocations: 0.514 MB / 1.083 GB, free: 9.027 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003895/0.8968, allocations: 2.294 MB / 1.085 GB, free: 7.539 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.8968, allocations: 2.875 kB / 1.085 GB, free: 7.539 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.174e-06/0.8968, allocations: 0 / 1.085 GB, free: 7.539 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.5e-05/0.8968, allocations: 4 kB / 1.085 GB, free: 7.535 MB / 0.7325 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.002095/0.8989, allocations: 1.433 MB / 1.087 GB, free: 6.441 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.8989, allocations: 11.81 kB / 1.087 GB, free: 6.441 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.873e-05/0.899, allocations: 22.44 kB / 1.087 GB, free: 6.441 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001589/0.8991, allocations: 146.1 kB / 1.087 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001132/0.9003, allocations: 233 kB / 1.087 GB, free: 6.215 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001512/0.9018, allocations: 0.8434 MB / 1.088 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002327/0.902, allocations: 291.1 kB / 1.088 GB, free: 5.305 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001137/0.9021, allocations: 90.06 kB / 1.088 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00147/0.9036, allocations: 0.9253 MB / 1.089 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.968e-05/0.9036, allocations: 2.625 kB / 1.089 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.308e-05/0.9037, allocations: 36.91 kB / 1.089 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.477e-05/0.9037, allocations: 26.84 kB / 1.089 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001026/0.9047, allocations: 0.6303 MB / 1.09 GB, free: 4.367 MB / 0.7325 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.003922/0.9086, allocations: 2.9 MB / 1.093 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000373/0.909, allocations: 184 kB / 1.093 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001935/0.9092, allocations: 137.6 kB / 1.093 GB, free: 1.996 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000548/0.9098, allocations: 125 kB / 1.093 GB, free: 1.953 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/0.9098, allocations: 36.22 kB / 1.093 GB, free: 1.91 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=24): time 1.673e-06/0.9098, allocations: 0 / 1.093 GB, free: 1.91 MB / 0.7325 GB Notification: Performance of matching and sorting (n=24): time 0.001066/0.9108, allocations: 474.3 kB / 1.094 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/0.9109, allocations: 57.56 kB / 1.094 GB, free: 1.602 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001289/0.9122, allocations: 1.107 MB / 1.095 GB, free: 0.9922 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.616e-05/0.9122, allocations: 36.7 kB / 1.095 GB, free: 0.9531 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004233/0.9126, allocations: 0.5131 MB / 1.095 GB, free: 0.5 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.136e-05/0.9127, allocations: 90.47 kB / 1.095 GB, free: 432 kB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001607/0.9129, allocations: 104.2 kB / 1.095 GB, free: 364 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.913, allocations: 319.1 kB / 1.096 GB, free: 44 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002341/0.9133, allocations: 128.8 kB / 1.096 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006295/0.9139, allocations: 0.7367 MB / 1.097 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005926/0.9145, allocations: 470.1 kB / 1.097 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.9145, allocations: 6.938 kB / 1.097 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008766/0.9154, allocations: 0.5472 MB / 1.098 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.9154, allocations: 5.969 kB / 1.098 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.9154, allocations: 8.594 kB / 1.098 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.9154, allocations: 8.219 kB / 1.098 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003503/0.9158, allocations: 91.14 kB / 1.098 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.9158, allocations: 10.59 kB / 1.098 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006558/0.9164, allocations: 107.5 kB / 1.098 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.201e-05/0.9165, allocations: 24.47 kB / 1.098 GB, free: 14.42 MB / 0.7481 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.0003495/0.9168, allocations: 285.3 kB / 1.098 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001418/0.917, allocations: 111.5 kB / 1.098 GB, free: 14.15 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007012/0.9177, allocations: 431.9 kB / 1.099 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.265e-06/0.9177, allocations: 3.344 kB / 1.099 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.9177, allocations: 0 / 1.099 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.9177, allocations: 2 kB / 1.099 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002115/0.9198, allocations: 1.441 MB / 1.1 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.9198, allocations: 5.5 kB / 1.1 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001671/0.92, allocations: 47.98 kB / 1.1 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.975e-06/0.92, allocations: 9.578 kB / 1.1 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.156e-05/0.92, allocations: 12.19 kB / 1.1 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.519e-06/0.92, allocations: 5.156 kB / 1.1 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/0.92, allocations: 8.25 kB / 1.1 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006262/0.9206, allocations: 0.5776 MB / 1.101 GB, free: 12.38 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003083/0.9209, allocations: 165.4 kB / 1.101 GB, free: 12.26 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001284/0.9211, allocations: 14.84 kB / 1.101 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004309/0.9215, allocations: 20.19 kB / 1.101 GB, free: 12.24 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.234e-05/0.9216, allocations: 33.69 kB / 1.101 GB, free: 12.22 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.246e-05/0.9216, allocations: 10.41 kB / 1.101 GB, free: 12.22 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0009835/0.9226, allocations: 0.7807 MB / 1.102 GB, free: 11.78 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9226, allocations: 2.844 kB / 1.102 GB, free: 11.78 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0008537/0.9234, allocations: 293.8 kB / 1.102 GB, free: 11.71 MB / 0.7481 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.001303/0.9247, allocations: 1.313 MB / 1.103 GB, free: 10.64 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0006246/0.9253, allocations: 335.6 kB / 1.104 GB, free: 10.5 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.9253, allocations: 2.906 kB / 1.104 GB, free: 10.5 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001928/0.9255, allocations: 137.6 kB / 1.104 GB, free: 10.45 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002206/0.9277, allocations: 0.5105 MB / 1.104 GB, free: 10.18 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01012/0.9379, allocations: 7.433 MB / 1.111 GB, free: 3.148 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000536/0.9384, allocations: 485 kB / 1.112 GB, free: 2.645 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0007564/0.9392, allocations: 197.7 kB / 1.112 GB, free: 2.457 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005108/0.9397, allocations: 363.3 kB / 1.112 GB, free: 2.102 MB / 0.7481 GB Notification: Performance of SimCode: time 9.62e-07/0.9397, allocations: 0 / 1.112 GB, free: 2.102 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06025/0.9999, allocations: 30.24 MB / 1.142 GB, free: 4.543 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.1/14.1, allocations: 3.938 kB / 1.142 GB, free: 4.539 MB / 0.7794 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 & /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: 18.419948749011382] Failed to read output from testmodel.py, exit status != 0: 14.284962518024258 14.308714592 13.407532493 Calling exit ...