Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.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.0008012/0.0008012, 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.0008595/0.0008595, 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.8548/0.8548, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.00141/0.00141, allocations: 231.9 kB / 259.4 MB, free: 13.02 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.6633/0.6633, allocations: 138.4 MB / 454.3 MB, free: 30.07 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.AirToOutlet,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 0.6463 GB, free: 1.883 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.175e-05/2.395e-05, allocations: 6.219 kB / 0.6463 GB, free: 1.875 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.3452/0.3452, allocations: 150.4 MB / 0.7932 GB, free: 4.656 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004132/0.3494, allocations: 5.48 MB / 0.7985 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002075/0.3496, allocations: 11.94 kB / 0.7985 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0005418/0.3501, allocations: 198.6 kB / 0.7987 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0002663/0.3504, allocations: 95.31 kB / 0.7988 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008948/0.3513, allocations: 0.5329 MB / 0.7993 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0003248/0.3516, allocations: 427.2 kB / 0.7997 GB, free: 13.9 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001827/0.3518, allocations: 88.28 kB / 0.7998 GB, free: 13.81 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002655/0.352, allocations: 247.3 kB / 0.8001 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001419/0.3522, allocations: 131.6 kB / 0.8002 GB, free: 13.44 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.584e-05/0.3522, allocations: 20 kB / 0.8002 GB, free: 13.42 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005409/0.3528, allocations: 386.6 kB / 0.8006 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 7.352e-05/0.3528, allocations: 75.72 kB / 0.8006 GB, free: 12.97 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 5.445e-05/0.3529, allocations: 63.84 kB / 0.8007 GB, free: 12.91 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.000409/0.3533, allocations: 474.5 kB / 0.8012 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.3533, allocations: 0 / 0.8012 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.422e-06/0.3533, allocations: 0 / 0.8012 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.3533, allocations: 0 / 0.8012 GB, free: 12.44 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0004066/0.3537, allocations: 457.4 kB / 0.8016 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.3537, allocations: 9.938 kB / 0.8016 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.566e-05/0.3538, allocations: 62.53 kB / 0.8017 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001852/0.354, allocations: 43.84 kB / 0.8017 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002771/0.3543, allocations: 200.8 kB / 0.8019 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001233/0.3544, allocations: 242.1 kB / 0.8021 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.061e-05/0.3544, allocations: 20 kB / 0.8022 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002927/0.3547, allocations: 290 kB / 0.8024 GB, free: 11 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.3547, allocations: 4.656 kB / 0.8024 GB, free: 11 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.594e-05/0.3547, allocations: 7.938 kB / 0.8024 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.3547, allocations: 12 kB / 0.8025 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001952/0.3549, allocations: 156.6 kB / 0.8026 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008275/0.3557, allocations: 1.513 MB / 0.8041 GB, free: 9.23 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.723e-05/0.3558, allocations: 169.1 kB / 0.8042 GB, free: 9.055 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.248e-05/0.3558, allocations: 84.08 kB / 0.8043 GB, free: 8.969 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.911e-05/0.3558, allocations: 75.94 kB / 0.8044 GB, free: 8.895 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/0.3559, allocations: 113.8 kB / 0.8045 GB, free: 8.773 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 9.01e-07/0.3559, allocations: 0 / 0.8045 GB, free: 8.773 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 6.25e-05/0.3559, allocations: 53.5 kB / 0.8046 GB, free: 8.715 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.835e-05/0.356, allocations: 126.7 kB / 0.8047 GB, free: 8.578 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002332/0.3562, allocations: 321.7 kB / 0.805 GB, free: 8.262 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.346e-06/0.3562, allocations: 29.7 kB / 0.805 GB, free: 8.227 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.191e-05/0.3563, allocations: 195.5 kB / 0.8052 GB, free: 8.035 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.561e-06/0.3563, allocations: 8 kB / 0.8052 GB, free: 8.027 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.71e-05/0.3564, allocations: 41.66 kB / 0.8052 GB, free: 7.98 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.728e-05/0.3564, allocations: 330.8 kB / 0.8056 GB, free: 7.648 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.667e-05/0.3565, allocations: 35.97 kB / 0.8056 GB, free: 7.613 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001001/0.3566, allocations: 161.1 kB / 0.8057 GB, free: 7.395 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001429/0.3567, allocations: 200.9 kB / 0.8059 GB, free: 7.137 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.3567, allocations: 0 / 0.8059 GB, free: 7.137 MB / 0.6355 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002615/0.357, allocations: 221.2 kB / 0.8061 GB, free: 6.914 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.357, allocations: 12.61 kB / 0.8062 GB, free: 6.902 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.357, allocations: 4 kB / 0.8062 GB, free: 6.898 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.357, allocations: 11.94 kB / 0.8062 GB, free: 6.887 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.108e-05/0.3571, allocations: 35.92 kB / 0.8062 GB, free: 6.852 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.321e-06/0.3571, allocations: 4 kB / 0.8062 GB, free: 6.848 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.813e-05/0.3572, allocations: 36.19 kB / 0.8062 GB, free: 6.812 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.76e-05/0.3572, allocations: 12 kB / 0.8063 GB, free: 6.801 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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 9.173e-05/0.3573, allocations: 221.6 kB / 0.8065 GB, free: 6.574 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.379e-05/0.3574, allocations: 120.8 kB / 0.8066 GB, free: 6.449 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.515e-05/0.3574, allocations: 121.8 kB / 0.8067 GB, free: 6.324 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.239e-05/0.3575, allocations: 192.1 kB / 0.8069 GB, free: 6.129 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.704e-05/0.3575, allocations: 176.3 kB / 0.8071 GB, free: 5.949 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001612/0.3577, allocations: 184.2 kB / 0.8072 GB, free: 5.762 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001876/0.3578, allocations: 440.2 kB / 0.8076 GB, free: 5.281 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.151e-05/0.3579, allocations: 105 kB / 0.8077 GB, free: 5.172 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.288e-05/0.3579, allocations: 106.3 kB / 0.8079 GB, free: 5.062 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-05/0.3579, allocations: 184.3 kB / 0.808 GB, free: 4.875 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.783e-05/0.358, allocations: 180.2 kB / 0.8082 GB, free: 4.691 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.465e-05/0.358, allocations: 180.2 kB / 0.8084 GB, free: 4.508 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.572e-05/0.358, allocations: 188.2 kB / 0.8085 GB, free: 4.316 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.98e-05/0.3581, allocations: 319.7 kB / 0.8089 GB, free: 3.98 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.432e-05/0.3582, allocations: 136.8 kB / 0.809 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.186e-05/0.3582, allocations: 176.3 kB / 0.8092 GB, free: 3.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.541e-05/0.3583, allocations: 112.9 kB / 0.8093 GB, free: 3.543 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.048e-05/0.3583, allocations: 184.2 kB / 0.8094 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.078e-05/0.3584, allocations: 103.2 kB / 0.8095 GB, free: 3.25 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001483/0.3585, allocations: 217.2 kB / 0.8097 GB, free: 3.039 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.3585, allocations: 4 kB / 0.8097 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002436/0.3587, allocations: 55.89 kB / 0.8098 GB, free: 2.98 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0003648/0.3591, allocations: 0.8441 MB / 0.8106 GB, free: 2.109 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001335/0.3592, allocations: 83.77 kB / 0.8107 GB, free: 2.027 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3592, allocations: 0 / 0.8107 GB, free: 2.027 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.674e-06/0.3593, allocations: 6.625 kB / 0.8107 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003445/0.3596, allocations: 485.4 kB / 0.8112 GB, free: 1.547 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001741/0.3613, allocations: 2.5 MB / 0.8136 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.949e-05/0.3614, allocations: 128.9 kB / 0.8137 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 8.505e-05/0.3615, allocations: 33.94 kB / 0.8138 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.676e-05/0.3616, allocations: 60.48 kB / 0.8138 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of SimCode: time 5.81e-07/0.3616, allocations: 0 / 0.8138 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01753/0.3791, allocations: 4.762 MB / 0.8185 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.714/7.093, allocations: 0 / 0.8185 GB, free: 10.09 MB / 0.6511 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet_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_AirToOutlet.fmu > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.645267265848815] Failed to read output from testmodel.py, exit status != 0: 7.174233544617891 7.183750578 6.828241672 Calling exit ...