Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001311/0.001311, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001425/0.001425, allocations: 204.2 kB / 22.99 MB, free: 4.605 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.676/1.676, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9936/0.9936, allocations: 149.9 MB / 463 MB, free: 10.35 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002046/0.002046, allocations: 66.17 kB / 0.6411 GB, free: 10.15 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2234/0.2255, allocations: 89.18 MB / 0.7282 GB, free: 1.047 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.6338/0.8593, allocations: 150.5 MB / 0.8751 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.007719/0.867, allocations: 5.519 MB / 0.8805 GB, free: 9.246 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003764/0.8674, allocations: 7.938 kB / 0.8805 GB, free: 9.238 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0007745/0.8682, allocations: 202.7 kB / 0.8807 GB, free: 9.039 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0004478/0.8686, allocations: 87.44 kB / 0.8808 GB, free: 8.953 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001513/0.8701, allocations: 0.5217 MB / 0.8813 GB, free: 8.43 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0007379/0.8709, allocations: 422.5 kB / 0.8817 GB, free: 8.016 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004193/0.8713, allocations: 88.22 kB / 0.8818 GB, free: 7.922 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000551/0.8718, allocations: 191.3 kB / 0.882 GB, free: 7.734 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005231/0.8724, allocations: 143.4 kB / 0.8821 GB, free: 7.594 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.324e-05/0.8724, allocations: 16 kB / 0.8821 GB, free: 7.578 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008939/0.8733, allocations: 382.8 kB / 0.8825 GB, free: 7.203 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.000119/0.8734, allocations: 75.75 kB / 0.8826 GB, free: 7.129 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001176/0.8735, allocations: 83.61 kB / 0.8827 GB, free: 7.047 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0008942/0.8744, allocations: 462.3 kB / 0.8831 GB, free: 6.594 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.8744, allocations: 0 / 0.8831 GB, free: 6.594 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.234e-06/0.8744, allocations: 0 / 0.8831 GB, free: 6.594 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.8744, allocations: 0 / 0.8831 GB, free: 6.594 MB / 0.6544 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.0006977/0.8751, allocations: 457.3 kB / 0.8835 GB, free: 6.117 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.8752, allocations: 12.03 kB / 0.8836 GB, free: 6.105 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.792e-05/0.8753, allocations: 58.55 kB / 0.8836 GB, free: 6.039 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002746/0.8755, allocations: 47.84 kB / 0.8837 GB, free: 5.992 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004567/0.876, allocations: 195.2 kB / 0.8838 GB, free: 5.777 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002434/0.8762, allocations: 242.1 kB / 0.8841 GB, free: 5.492 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.669e-05/0.8763, allocations: 23.94 kB / 0.8841 GB, free: 5.469 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005019/0.8768, allocations: 290 kB / 0.8844 GB, free: 5.148 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.8768, allocations: 7.812 kB / 0.8844 GB, free: 5.145 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.588e-05/0.8768, allocations: 12 kB / 0.8844 GB, free: 5.133 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.8768, allocations: 8 kB / 0.8844 GB, free: 5.125 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003308/0.8772, allocations: 156.6 kB / 0.8845 GB, free: 4.973 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001913/0.8791, allocations: 1.521 MB / 0.886 GB, free: 3.371 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000157/0.8792, allocations: 173.1 kB / 0.8862 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.709e-05/0.8793, allocations: 92.12 kB / 0.8863 GB, free: 3.098 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 6.05e-05/0.8794, allocations: 79.22 kB / 0.8864 GB, free: 3.02 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.649e-05/0.8795, allocations: 109.8 kB / 0.8865 GB, free: 2.902 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.8795, allocations: 4 kB / 0.8865 GB, free: 2.898 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 0.0001429/0.8796, allocations: 45.56 kB / 0.8865 GB, free: 2.848 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001286/0.8797, allocations: 130.7 kB / 0.8866 GB, free: 2.707 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000478/0.8802, allocations: 317.7 kB / 0.8869 GB, free: 2.387 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.8802, allocations: 25.7 kB / 0.887 GB, free: 2.355 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001946/0.8804, allocations: 195.6 kB / 0.8872 GB, free: 2.16 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 6.763e-06/0.8804, allocations: 0 / 0.8872 GB, free: 2.16 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.8805, allocations: 45.66 kB / 0.8872 GB, free: 2.109 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002094/0.8807, allocations: 330.8 kB / 0.8875 GB, free: 1.777 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001051/0.8808, allocations: 43.97 kB / 0.8876 GB, free: 1.734 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002385/0.8811, allocations: 163.3 kB / 0.8877 GB, free: 1.516 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003199/0.8814, allocations: 196.9 kB / 0.8879 GB, free: 1.262 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.8814, allocations: 0 / 0.8879 GB, free: 1.262 MB / 0.6544 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005332/0.8819, allocations: 221 kB / 0.8881 GB, free: 1.039 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.882, allocations: 8 kB / 0.8881 GB, free: 1.031 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.517e-05/0.882, allocations: 7.984 kB / 0.8881 GB, free: 1.023 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.432e-05/0.882, allocations: 4.625 kB / 0.8881 GB, free: 1.02 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001734/0.8822, allocations: 39.92 kB / 0.8882 GB, free: 0.9805 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.339e-05/0.8822, allocations: 8 kB / 0.8882 GB, free: 0.9727 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000215/0.8824, allocations: 35.72 kB / 0.8882 GB, free: 0.9375 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.707e-05/0.8824, allocations: 8 kB / 0.8882 GB, free: 0.9297 MB / 0.6544 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.0002151/0.8826, allocations: 225 kB / 0.8884 GB, free: 0.6992 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001186/0.8828, allocations: 124.8 kB / 0.8885 GB, free: 0.5703 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001246/0.8829, allocations: 121.8 kB / 0.8887 GB, free: 460 kB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001051/0.883, allocations: 184.2 kB / 0.8888 GB, free: 268 kB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001152/0.8831, allocations: 180.3 kB / 0.889 GB, free: 80 kB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001487/0.8833, allocations: 184.2 kB / 0.8892 GB, free: 15.89 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000466/0.8837, allocations: 448.2 kB / 0.8896 GB, free: 15.4 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.394e-05/0.8838, allocations: 108.9 kB / 0.8897 GB, free: 15.29 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.075e-05/0.8839, allocations: 108.9 kB / 0.8898 GB, free: 15.18 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001207/0.884, allocations: 176.3 kB / 0.89 GB, free: 15 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001042/0.8841, allocations: 188.2 kB / 0.8902 GB, free: 14.8 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.593e-05/0.8842, allocations: 176.3 kB / 0.8903 GB, free: 14.62 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.798e-05/0.8843, allocations: 180.2 kB / 0.8905 GB, free: 14.44 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002215/0.8845, allocations: 327.6 kB / 0.8908 GB, free: 14.1 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001385/0.8846, allocations: 132.8 kB / 0.8909 GB, free: 13.96 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001496/0.8848, allocations: 177.1 kB / 0.8911 GB, free: 13.78 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/0.8849, allocations: 105 kB / 0.8912 GB, free: 13.67 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/0.885, allocations: 188.2 kB / 0.8914 GB, free: 13.48 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.496e-05/0.8851, allocations: 105 kB / 0.8915 GB, free: 13.37 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0002764/0.8854, allocations: 221.2 kB / 0.8917 GB, free: 13.16 MB / 0.67 GB Notification: Performance of sort global known variables: time 7e-08/0.8854, allocations: 0 / 0.8917 GB, free: 13.16 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0004035/0.8858, allocations: 51.89 kB / 0.8918 GB, free: 13.11 MB / 0.67 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.0006535/0.8864, allocations: 0.8515 MB / 0.8926 GB, free: 12.22 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0002283/0.8867, allocations: 83.77 kB / 0.8927 GB, free: 12.14 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.8867, allocations: 1.25 kB / 0.8927 GB, free: 12.14 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 1.432e-06/0.8867, allocations: 0 / 0.8927 GB, free: 12.14 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006332/0.8873, allocations: 489.2 kB / 0.8931 GB, free: 11.66 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003337/0.8906, allocations: 2.496 MB / 0.8956 GB, free: 8.977 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001572/0.8908, allocations: 133.2 kB / 0.8957 GB, free: 8.828 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0001368/0.8909, allocations: 37.55 kB / 0.8957 GB, free: 8.797 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.58e-05/0.891, allocations: 51.42 kB / 0.8958 GB, free: 8.746 MB / 0.67 GB Notification: Performance of SimCode: time 1.012e-06/0.891, allocations: 0 / 0.8958 GB, free: 8.746 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03485/0.9259, allocations: 4.613 MB / 0.9003 GB, free: 4.309 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/12.13, allocations: 0.875 kB / 0.9003 GB, free: 4.309 MB / 0.67 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_AirToOutlet.fmu > IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.344689595978707] Failed to read output from testmodel.py, exit status != 0: 12.246415960136801 12.274208796 11.394377553 Calling exit ...