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.001306/0.001306, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001489/0.001489, allocations: 214.7 kB / 22.25 MB, free: 5.125 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.394/1.394, allocations: 230.6 MB / 256 MB, free: 7.984 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.002492/0.002492, allocations: 285.2 kB / 312.7 MB, free: 2.805 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.171/1.171, allocations: 180.6 MB / 0.5369 GB, free: 12.99 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.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: 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.00285/0.00285, allocations: 103 kB / 0.7396 GB, free: 28.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.1647, allocations: 95.39 MB / 0.8327 GB, free: 8.664 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.575/0.7397, allocations: 174.1 MB / 1.003 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005975/0.7457, allocations: 6.106 MB / 1.009 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003488/0.746, allocations: 13.81 kB / 1.009 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005868/0.7466, allocations: 191.5 kB / 1.009 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003/0.7469, allocations: 95.81 kB / 1.009 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001272/0.7482, allocations: 0.5427 MB / 1.01 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005355/0.7487, allocations: 422.1 kB / 1.01 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002153/0.7489, allocations: 87.41 kB / 1.01 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000349/0.7493, allocations: 197 kB / 1.01 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002478/0.7495, allocations: 158 kB / 1.01 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.937e-05/0.7496, allocations: 16.91 kB / 1.01 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009213/0.7505, allocations: 0.5072 MB / 1.011 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.7506, allocations: 70.73 kB / 1.011 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000128/0.7507, allocations: 104.1 kB / 1.011 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0007414/0.7515, allocations: 480.7 kB / 1.011 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.7515, allocations: 1.219 kB / 1.011 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.463e-06/0.7515, allocations: 0.8125 kB / 1.011 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.7515, allocations: 0 / 1.011 GB, free: 3.23 MB / 0.7169 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.0006752/0.7522, allocations: 463.5 kB / 1.012 GB, free: 18.89 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.7522, allocations: 11.28 kB / 1.012 GB, free: 18.89 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.694e-05/0.7523, allocations: 66.38 kB / 1.012 GB, free: 18.85 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002458/0.7525, allocations: 42.22 kB / 1.012 GB, free: 18.84 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003444/0.7528, allocations: 199.7 kB / 1.012 GB, free: 18.7 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001945/0.753, allocations: 237.8 kB / 1.012 GB, free: 18.45 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.969e-05/0.7531, allocations: 28.14 kB / 1.012 GB, free: 18.45 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003695/0.7534, allocations: 288.8 kB / 1.013 GB, free: 18.32 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.7535, allocations: 4.906 kB / 1.013 GB, free: 18.32 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.044e-05/0.7535, allocations: 10.69 kB / 1.013 GB, free: 18.32 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.7535, allocations: 13.91 kB / 1.013 GB, free: 18.32 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002686/0.7537, allocations: 156.3 kB / 1.013 GB, free: 18.32 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001316/0.7551, allocations: 1.552 MB / 1.014 GB, free: 17.06 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.039e-05/0.7552, allocations: 170.7 kB / 1.015 GB, free: 16.89 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.849e-05/0.7552, allocations: 81.89 kB / 1.015 GB, free: 16.8 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.286e-05/0.7552, allocations: 82.48 kB / 1.015 GB, free: 16.73 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.648e-05/0.7553, allocations: 111.4 kB / 1.015 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.7553, allocations: 0 / 1.015 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 9.027e-05/0.7554, allocations: 50.05 kB / 1.015 GB, free: 16.57 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.804e-05/0.7555, allocations: 131.3 kB / 1.015 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003317/0.7558, allocations: 310.5 kB / 1.015 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.7558, allocations: 26.83 kB / 1.015 GB, free: 16.29 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001216/0.7559, allocations: 198.4 kB / 1.016 GB, free: 16.15 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.38e-06/0.7559, allocations: 1.906 kB / 1.016 GB, free: 16.15 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.425e-05/0.756, allocations: 41.84 kB / 1.016 GB, free: 16.13 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.7561, allocations: 329.2 kB / 1.016 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.493e-05/0.7562, allocations: 43.31 kB / 1.016 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001236/0.7564, allocations: 163.2 kB / 1.016 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001772/0.7565, allocations: 199.3 kB / 1.016 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.7565, allocations: 1.406 kB / 1.016 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003745/0.7569, allocations: 215.8 kB / 1.016 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.7569, allocations: 7.688 kB / 1.017 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.7569, allocations: 4.844 kB / 1.017 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.131e-05/0.757, allocations: 14.56 kB / 1.017 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001521/0.7571, allocations: 38 kB / 1.017 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.7571, allocations: 7.531 kB / 1.017 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001716/0.7573, allocations: 34.05 kB / 1.017 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.847e-05/0.7573, allocations: 12.38 kB / 1.017 GB, free: 15.44 MB / 0.7325 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 0.0001665/0.7575, allocations: 225.5 kB / 1.017 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.617e-05/0.7576, allocations: 121.9 kB / 1.017 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.358e-05/0.7576, allocations: 126.8 kB / 1.017 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.497e-05/0.7577, allocations: 181.1 kB / 1.017 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.792e-05/0.7578, allocations: 184.5 kB / 1.017 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.268e-05/0.7579, allocations: 178.3 kB / 1.018 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003351/0.7582, allocations: 453.7 kB / 1.018 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.728e-05/0.7583, allocations: 103.6 kB / 1.018 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.536e-05/0.7583, allocations: 111.8 kB / 1.018 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.694e-05/0.7584, allocations: 183.2 kB / 1.018 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.686e-05/0.7585, allocations: 185.7 kB / 1.019 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.533e-05/0.7586, allocations: 177.6 kB / 1.019 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.107e-05/0.7587, allocations: 184.6 kB / 1.019 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001709/0.7588, allocations: 319 kB / 1.019 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.941e-05/0.7589, allocations: 135.6 kB / 1.019 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001064/0.759, allocations: 185.9 kB / 1.02 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000161/0.7592, allocations: 108.9 kB / 1.02 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.196e-05/0.7593, allocations: 181.6 kB / 1.02 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.963e-05/0.7593, allocations: 104.9 kB / 1.02 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000212/0.7595, allocations: 219.7 kB / 1.02 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.7595, allocations: 0.9375 kB / 1.02 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000396/0.7599, allocations: 50.84 kB / 1.02 GB, free: 12.05 MB / 0.7325 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.0005415/0.7605, allocations: 0.852 MB / 1.021 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001844/0.7607, allocations: 84.95 kB / 1.021 GB, free: 11.22 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.7607, allocations: 2.453 kB / 1.021 GB, free: 11.22 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.262e-06/0.7607, allocations: 0.8438 kB / 1.021 GB, free: 11.22 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005421/0.7612, allocations: 482.2 kB / 1.022 GB, free: 10.78 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002591/0.7638, allocations: 2.514 MB / 1.024 GB, free: 9.055 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003643/0.7642, allocations: 0.7406 MB / 1.025 GB, free: 8.359 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001224/0.7643, allocations: 36.75 kB / 1.025 GB, free: 8.355 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.607e-05/0.7644, allocations: 57.95 kB / 1.025 GB, free: 8.348 MB / 0.7325 GB Notification: Performance of SimCode: time 3.41e-07/0.7644, allocations: 1.062 kB / 1.025 GB, free: 8.348 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02945/0.7938, allocations: 4.25 MB / 1.029 GB, free: 7.863 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.44/11.23, allocations: 14.33 kB / 1.029 GB, free: 7.859 MB / 0.7325 GB " [Timeout remaining time 649] (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: 15.286017188002006] Failed to read output from testmodel.py, exit status != 0: 11.336939026998152 11.360445692 10.604570606 Calling exit ...