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.002075/0.002075, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002471/0.002471, allocations: 212.4 kB / 22.25 MB, free: 4.859 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.5/1.5, allocations: 230.6 MB / 256 MB, free: 7.789 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.002604/0.002604, allocations: 299.4 kB / 312.7 MB, free: 2.613 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.257/1.257, allocations: 180.6 MB / 0.5369 GB, free: 14.5 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.002924/0.002924, allocations: 109.5 kB / 0.7395 GB, free: 28.48 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.1539, allocations: 95.38 MB / 0.8326 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.6896/0.8436, allocations: 222.2 MB / 1.05 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0242/0.8678, allocations: 20.56 MB / 1.07 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002168/0.8699, allocations: 73.94 kB / 1.07 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002939/0.8729, allocations: 0.979 MB / 1.071 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.004528/0.8774, allocations: 1.519 MB / 1.072 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.005371/0.8828, allocations: 1.949 MB / 1.074 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003882/0.8866, allocations: 2.692 MB / 1.077 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001913/0.8886, allocations: 0.961 MB / 1.078 GB, free: 10.69 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00324/0.8918, allocations: 1.385 MB / 1.079 GB, free: 10.2 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001688/0.8935, allocations: 0.9065 MB / 1.08 GB, free: 9.867 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002646/0.8937, allocations: 109.2 kB / 1.08 GB, free: 9.867 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00343/0.8972, allocations: 1.411 MB / 1.081 GB, free: 9.496 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0005537/0.8977, allocations: 390.9 kB / 1.082 GB, free: 9.273 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001062/0.8988, allocations: 0.5145 MB / 1.082 GB, free: 8.98 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.004408/0.9032, allocations: 2.298 MB / 1.085 GB, free: 7.492 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.9032, allocations: 0 / 1.085 GB, free: 7.492 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.054e-06/0.9032, allocations: 0 / 1.085 GB, free: 7.492 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.895e-05/0.9033, allocations: 0 / 1.085 GB, free: 7.492 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.003092/0.9064, allocations: 1.438 MB / 1.086 GB, free: 6.395 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.9064, allocations: 12.62 kB / 1.086 GB, free: 6.395 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001785/0.9066, allocations: 142.9 kB / 1.086 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00117/0.9078, allocations: 234.6 kB / 1.086 GB, free: 6.168 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001707/0.9095, allocations: 0.8337 MB / 1.087 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002403/0.9097, allocations: 295.6 kB / 1.087 GB, free: 5.262 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001178/0.9098, allocations: 95.62 kB / 1.088 GB, free: 5.23 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001492/0.9113, allocations: 0.9254 MB / 1.088 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.402e-05/0.9113, allocations: 2.531 kB / 1.088 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.038e-05/0.9114, allocations: 35.19 kB / 1.088 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.563e-05/0.9114, allocations: 23.22 kB / 1.089 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001071/0.9125, allocations: 0.6258 MB / 1.089 GB, free: 4.328 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.004312/0.9168, allocations: 2.899 MB / 1.092 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003836/0.9172, allocations: 185.5 kB / 1.092 GB, free: 2.031 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001999/0.9174, allocations: 142.5 kB / 1.092 GB, free: 1.953 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005415/0.9179, allocations: 122.9 kB / 1.092 GB, free: 1.914 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.198e-05/0.918, allocations: 38.81 kB / 1.092 GB, free: 1.871 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=24): time 1.984e-06/0.918, allocations: 0 / 1.092 GB, free: 1.871 MB / 0.7325 GB Notification: Performance of matching and sorting (n=24): time 0.001051/0.919, allocations: 472.5 kB / 1.093 GB, free: 1.629 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/0.9191, allocations: 54.03 kB / 1.093 GB, free: 1.566 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001396/0.9205, allocations: 1.119 MB / 1.094 GB, free: 0.9453 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.029e-05/0.9205, allocations: 34.58 kB / 1.094 GB, free: 0.9102 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004708/0.921, allocations: 0.5138 MB / 1.095 GB, free: 468 kB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.245e-05/0.9211, allocations: 98.69 kB / 1.095 GB, free: 380 kB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001561/0.9212, allocations: 100 kB / 1.095 GB, free: 316 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001791/0.9214, allocations: 327.2 kB / 1.095 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002209/0.9216, allocations: 127.2 kB / 1.095 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000674/0.9223, allocations: 0.7342 MB / 1.096 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005897/0.9229, allocations: 470.5 kB / 1.096 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.9229, allocations: 0 / 1.096 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000893/0.9238, allocations: 0.5467 MB / 1.097 GB, free: 14.47 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.9238, allocations: 8.281 kB / 1.097 GB, free: 14.47 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.9238, allocations: 5.781 kB / 1.097 GB, free: 14.47 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.301e-05/0.9238, allocations: 8.656 kB / 1.097 GB, free: 14.47 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003559/0.9242, allocations: 87.95 kB / 1.097 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.9242, allocations: 10.69 kB / 1.097 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007024/0.9249, allocations: 106.2 kB / 1.097 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.026e-05/0.9249, allocations: 26.31 kB / 1.097 GB, free: 14.38 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.0004011/0.9253, allocations: 289.2 kB / 1.097 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000154/0.9255, allocations: 110.8 kB / 1.097 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007509/0.9262, allocations: 432.6 kB / 1.098 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/0.9263, allocations: 7.922 kB / 1.098 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.9263, allocations: 4 kB / 1.098 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.9263, allocations: 0 / 1.098 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002329/0.9286, allocations: 1.44 MB / 1.099 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.914e-06/0.9286, allocations: 3.375 kB / 1.099 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001702/0.9288, allocations: 40.92 kB / 1.099 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.191e-05/0.9288, allocations: 11.11 kB / 1.099 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.987e-05/0.9288, allocations: 10.78 kB / 1.099 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.9288, allocations: 9.5 kB / 1.099 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/0.9288, allocations: 8.094 kB / 1.099 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006935/0.9295, allocations: 0.5838 MB / 1.1 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003917/0.9299, allocations: 164.9 kB / 1.1 GB, free: 12.2 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001223/0.93, allocations: 9.547 kB / 1.1 GB, free: 12.2 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004379/0.9305, allocations: 22.19 kB / 1.1 GB, free: 12.19 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.091e-05/0.9305, allocations: 32.09 kB / 1.1 GB, free: 12.17 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.458e-05/0.9305, allocations: 15.47 kB / 1.1 GB, free: 12.17 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001026/0.9316, allocations: 0.78 MB / 1.101 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1e-07/0.9316, allocations: 2.531 kB / 1.101 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0009273/0.9325, allocations: 285.9 kB / 1.101 GB, free: 11.67 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.001445/0.9339, allocations: 1.321 MB / 1.103 GB, free: 10.59 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0006255/0.9346, allocations: 329 kB / 1.103 GB, free: 10.46 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.9346, allocations: 0 / 1.103 GB, free: 10.46 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001903/0.9348, allocations: 137.8 kB / 1.103 GB, free: 10.4 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002365/0.9371, allocations: 0.518 MB / 1.103 GB, free: 10.13 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01066/0.9478, allocations: 7.433 MB / 1.111 GB, free: 3.113 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005721/0.9484, allocations: 485 kB / 1.111 GB, free: 2.609 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.000826/0.9492, allocations: 197.9 kB / 1.111 GB, free: 2.422 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005266/0.9497, allocations: 359.3 kB / 1.112 GB, free: 2.07 MB / 0.7481 GB Notification: Performance of SimCode: time 1.312e-06/0.9497, allocations: 2.531 kB / 1.112 GB, free: 2.07 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07293/1.023, allocations: 30.66 MB / 1.142 GB, free: 4.031 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.2/13.22, allocations: 11.48 kB / 1.142 GB, free: 4.027 MB / 0.7794 GB " [Timeout remaining time 647] (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.617679677903652] Failed to read output from testmodel.py, exit status != 0: 13.351928505115211 13.378077193 12.470029237 Calling exit ...