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.000756/0.000756, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.000822/0.000822, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8584/0.8584, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.001455/0.001455, allocations: 240.7 kB / 259.4 MB, free: 13 MB / 250.7 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 0.6711/0.6711, allocations: 138.4 MB / 454.3 MB, free: 30.05 MB / 410.7 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: Performance of FrontEnd - loaded program: time 1.943e-06/1.943e-06, allocations: 0 / 0.6463 GB, free: 1.891 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.186e-05/2.38e-05, allocations: 5.375 kB / 0.6463 GB, free: 1.887 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.3969/0.3969, allocations: 221.6 MB / 0.8627 GB, free: 13.26 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01725/0.4142, allocations: 20.44 MB / 0.8827 GB, free: 8.75 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001527/0.4157, allocations: 71.38 kB / 0.8828 GB, free: 8.68 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.002114/0.4178, allocations: 0.9934 MB / 0.8837 GB, free: 7.68 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.002881/0.4207, allocations: 1.558 MB / 0.8852 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.003944/0.4246, allocations: 2.033 MB / 0.8872 GB, free: 4.082 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.00272/0.4274, allocations: 2.701 MB / 0.8899 GB, free: 1.375 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001012/0.4284, allocations: 0.9714 MB / 0.8908 GB, free: 380 kB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001853/0.4302, allocations: 1.768 MB / 0.8925 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007434/0.431, allocations: 0.8102 MB / 0.8933 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0001007/0.4311, allocations: 108 kB / 0.8934 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002226/0.4333, allocations: 1.437 MB / 0.8948 GB, free: 12.24 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0002584/0.4335, allocations: 398.7 kB / 0.8952 GB, free: 11.85 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0003012/0.4338, allocations: 435 kB / 0.8956 GB, free: 11.42 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.001982/0.4358, allocations: 2.333 MB / 0.8979 GB, free: 9.082 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.79e-06/0.4358, allocations: 4 kB / 0.8979 GB, free: 9.078 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.763e-06/0.4358, allocations: 0 / 0.8979 GB, free: 9.078 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.569e-05/0.4359, allocations: 0 / 0.8979 GB, free: 9.078 MB / 0.7292 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.001364/0.4372, allocations: 1.422 MB / 0.8993 GB, free: 7.617 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.4373, allocations: 9.938 kB / 0.8993 GB, free: 7.609 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001146/0.4374, allocations: 151.4 kB / 0.8995 GB, free: 7.457 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006263/0.438, allocations: 223.1 kB / 0.8997 GB, free: 7.238 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001051/0.4391, allocations: 0.8519 MB / 0.9005 GB, free: 6.355 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001592/0.4392, allocations: 291.6 kB / 0.9008 GB, free: 6.02 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.685e-05/0.4393, allocations: 88 kB / 0.9009 GB, free: 5.934 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001257/0.4405, allocations: 0.9323 MB / 0.9018 GB, free: 4.969 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.912e-05/0.4406, allocations: 4 kB / 0.9018 GB, free: 4.965 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.655e-05/0.4406, allocations: 36 kB / 0.9018 GB, free: 4.93 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.321e-05/0.4406, allocations: 24 kB / 0.9018 GB, free: 4.906 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007267/0.4413, allocations: 0.6323 MB / 0.9025 GB, free: 4.27 MB / 0.7292 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.002521/0.4439, allocations: 2.886 MB / 0.9053 GB, free: 1.309 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002749/0.4441, allocations: 181.8 kB / 0.9054 GB, free: 1.125 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001345/0.4443, allocations: 137.9 kB / 0.9056 GB, free: 0.9883 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003048/0.4446, allocations: 123.9 kB / 0.9057 GB, free: 0.8672 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.876e-05/0.4446, allocations: 34.56 kB / 0.9057 GB, free: 0.8242 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=24): time 1.603e-06/0.4446, allocations: 0 / 0.9057 GB, free: 0.8242 MB / 0.7292 GB Notification: Performance of matching and sorting (n=24): time 0.0006626/0.4453, allocations: 488 kB / 0.9062 GB, free: 352 kB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.042e-05/0.4453, allocations: 51.41 kB / 0.9062 GB, free: 288 kB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009642/0.4463, allocations: 1.122 MB / 0.9073 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.377e-05/0.4463, allocations: 29.7 kB / 0.9074 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002808/0.4466, allocations: 0.5126 MB / 0.9079 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003013/0.4469, allocations: 91.25 kB / 0.908 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/0.447, allocations: 98.09 kB / 0.9081 GB, free: 14.4 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.704e-05/0.447, allocations: 322 kB / 0.9084 GB, free: 14.08 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001512/0.4472, allocations: 128.9 kB / 0.9085 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003831/0.4476, allocations: 0.7379 MB / 0.9092 GB, free: 13.03 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000385/0.448, allocations: 459.6 kB / 0.9096 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.448, allocations: 8 kB / 0.9096 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000577/0.4485, allocations: 0.5438 MB / 0.9102 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.4486, allocations: 8 kB / 0.9102 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.4486, allocations: 4 kB / 0.9102 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.4486, allocations: 15.94 kB / 0.9102 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002001/0.4488, allocations: 87.89 kB / 0.9103 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/0.4488, allocations: 11.94 kB / 0.9103 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003505/0.4492, allocations: 97.89 kB / 0.9104 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.998e-05/0.4492, allocations: 31.98 kB / 0.9104 GB, free: 11.68 MB / 0.7448 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.0002559/0.4494, allocations: 286.3 kB / 0.9107 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.496e-05/0.4495, allocations: 111.3 kB / 0.9108 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004762/0.45, allocations: 427.7 kB / 0.9112 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.724e-06/0.45, allocations: 8.156 kB / 0.9112 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.45, allocations: 4 kB / 0.9112 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.45, allocations: 3.984 kB / 0.9112 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001342/0.4514, allocations: 1.444 MB / 0.9126 GB, free: 9.301 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.219e-06/0.4514, allocations: 4.562 kB / 0.9126 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.824e-05/0.4515, allocations: 39.92 kB / 0.9127 GB, free: 9.258 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.119e-06/0.4515, allocations: 8 kB / 0.9127 GB, free: 9.25 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.599e-05/0.4515, allocations: 15.94 kB / 0.9127 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.472e-06/0.4515, allocations: 11.38 kB / 0.9127 GB, free: 9.227 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.4515, allocations: 4 kB / 0.9127 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003975/0.4519, allocations: 0.5637 MB / 0.9133 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001949/0.4521, allocations: 171.1 kB / 0.9134 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.5e-05/0.4522, allocations: 15.94 kB / 0.9134 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002168/0.4524, allocations: 19.98 kB / 0.9135 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.783e-05/0.4524, allocations: 31.84 kB / 0.9135 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.588e-05/0.4524, allocations: 12 kB / 0.9135 GB, free: 8.344 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0006556/0.4531, allocations: 0.7783 MB / 0.9143 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4531, allocations: 0 / 0.9143 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0006056/0.4537, allocations: 291.4 kB / 0.9145 GB, free: 7.273 MB / 0.7448 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.001153/0.4548, allocations: 1.324 MB / 0.9158 GB, free: 5.871 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004271/0.4553, allocations: 332.6 kB / 0.9162 GB, free: 5.547 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.4553, allocations: 0 / 0.9162 GB, free: 5.547 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001454/0.4554, allocations: 140.1 kB / 0.9163 GB, free: 5.41 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00133/0.4567, allocations: 0.5159 MB / 0.9168 GB, free: 4.945 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007473/0.4642, allocations: 7.469 MB / 0.9241 GB, free: 13.06 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003473/0.4646, allocations: 485.9 kB / 0.9245 GB, free: 12.55 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0005536/0.4651, allocations: 198.2 kB / 0.9247 GB, free: 12.37 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000326/0.4654, allocations: 360.4 kB / 0.9251 GB, free: 12.02 MB / 0.7605 GB Notification: Performance of SimCode: time 1.132e-06/0.4654, allocations: 0 / 0.9251 GB, free: 12.02 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2761/0.7415, allocations: 30.72 MB / 0.9551 GB, free: 251.6 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.347/8.089, allocations: 21.52 kB / 0.9551 GB, free: 251.6 MB / 0.7605 GB " [Timeout remaining time 652] (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: 10.718300614506006] Failed to read output from testmodel.py, exit status != 0: 8.186081901192665 8.197541075 7.759374495 Calling exit ...