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.001252/0.001252, allocations: 119 kB / 19.69 MB, free: 2.199 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.001407/0.001407, allocations: 223.4 kB / 23.01 MB, free: 5.047 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.504/1.504, allocations: 230.6 MB / 256.8 MB, free: 8 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.9804/0.9804, allocations: 150 MB / 463.2 MB, free: 10.54 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.002083/0.002083, allocations: 63.12 kB / 0.6413 GB, free: 10.45 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2049/0.2069, allocations: 89.17 MB / 0.7283 GB, free: 1.348 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.6939/0.9008, allocations: 174.1 MB / 0.8983 GB, free: 9.391 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.008298/0.9091, allocations: 6.114 MB / 0.9043 GB, free: 3.258 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004554/0.9096, allocations: 15.94 kB / 0.9043 GB, free: 3.242 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0009322/0.9105, allocations: 194.7 kB / 0.9045 GB, free: 3.051 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0004428/0.911, allocations: 83.42 kB / 0.9046 GB, free: 2.969 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001771/0.9127, allocations: 0.5488 MB / 0.9051 GB, free: 2.418 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0006803/0.9134, allocations: 414.6 kB / 0.9055 GB, free: 2.012 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003002/0.9137, allocations: 96.14 kB / 0.9056 GB, free: 1.91 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003722/0.9141, allocations: 195.3 kB / 0.9058 GB, free: 1.719 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003363/0.9144, allocations: 155.3 kB / 0.9059 GB, free: 1.566 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 3.33e-05/0.9144, allocations: 20 kB / 0.906 GB, free: 1.547 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00112/0.9156, allocations: 0.5103 MB / 0.9065 GB, free: 1.035 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001198/0.9157, allocations: 67.77 kB / 0.9065 GB, free: 0.9688 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0001482/0.9158, allocations: 103.5 kB / 0.9066 GB, free: 0.8672 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0008143/0.9167, allocations: 482.3 kB / 0.9071 GB, free: 404 kB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.134e-06/0.9167, allocations: 0 / 0.9071 GB, free: 404 kB / 0.67 GB Notification: Performance of FrontEnd: time 2.315e-06/0.9167, allocations: 0 / 0.9071 GB, free: 404 kB / 0.67 GB Notification: Performance of Transformations before backend: time 8.746e-06/0.9167, allocations: 3.938 kB / 0.9071 GB, free: 400 kB / 0.67 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.0008282/0.9175, allocations: 457.3 kB / 0.9075 GB, free: 15.91 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/0.9175, allocations: 16.03 kB / 0.9075 GB, free: 15.9 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.458e-05/0.9176, allocations: 58.55 kB / 0.9076 GB, free: 15.83 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003174/0.918, allocations: 43.83 kB / 0.9076 GB, free: 15.79 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004565/0.9184, allocations: 199.2 kB / 0.9078 GB, free: 15.57 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004026/0.9188, allocations: 238.1 kB / 0.9081 GB, free: 15.29 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.033e-05/0.9189, allocations: 27.94 kB / 0.9081 GB, free: 15.26 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005772/0.9194, allocations: 293.9 kB / 0.9084 GB, free: 14.94 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.9195, allocations: 3.938 kB / 0.9084 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.637e-05/0.9195, allocations: 12 kB / 0.9084 GB, free: 14.92 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/0.9195, allocations: 8 kB / 0.9084 GB, free: 14.91 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000482/0.92, allocations: 160.6 kB / 0.9085 GB, free: 14.76 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001619/0.9216, allocations: 1.552 MB / 0.9101 GB, free: 13.12 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001094/0.9217, allocations: 169.1 kB / 0.9102 GB, free: 12.95 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.166e-05/0.9218, allocations: 80.14 kB / 0.9103 GB, free: 12.86 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 5.202e-05/0.9218, allocations: 87.2 kB / 0.9104 GB, free: 12.78 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.08e-05/0.9219, allocations: 110.8 kB / 0.9105 GB, free: 12.66 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.9219, allocations: 4 kB / 0.9105 GB, free: 12.66 MB / 0.6856 GB Notification: Performance of matching and sorting (n=0): time 0.0001198/0.922, allocations: 45.56 kB / 0.9105 GB, free: 12.61 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.91e-05/0.9221, allocations: 126.7 kB / 0.9106 GB, free: 12.47 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005131/0.9226, allocations: 317.7 kB / 0.9109 GB, free: 12.15 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.9226, allocations: 25.7 kB / 0.911 GB, free: 12.12 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001729/0.9228, allocations: 195.7 kB / 0.9112 GB, free: 11.92 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 3.988e-06/0.9228, allocations: 0 / 0.9112 GB, free: 11.92 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.985e-05/0.9229, allocations: 45.66 kB / 0.9112 GB, free: 11.87 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001791/0.9231, allocations: 330.8 kB / 0.9115 GB, free: 11.54 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.438e-05/0.9232, allocations: 35.97 kB / 0.9116 GB, free: 11.5 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002972/0.9235, allocations: 161.1 kB / 0.9117 GB, free: 11.29 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002774/0.9237, allocations: 196.8 kB / 0.9119 GB, free: 11.03 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.9237, allocations: 0 / 0.9119 GB, free: 11.03 MB / 0.6856 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004436/0.9242, allocations: 221 kB / 0.9121 GB, free: 10.81 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/0.9242, allocations: 12.56 kB / 0.9121 GB, free: 10.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/0.9242, allocations: 8 kB / 0.9121 GB, free: 10.79 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/0.9242, allocations: 4 kB / 0.9121 GB, free: 10.79 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001653/0.9244, allocations: 44.91 kB / 0.9122 GB, free: 10.74 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/0.9244, allocations: 7.938 kB / 0.9122 GB, free: 10.73 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001712/0.9246, allocations: 35.73 kB / 0.9122 GB, free: 10.7 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.708e-05/0.9246, allocations: 8 kB / 0.9122 GB, free: 10.69 MB / 0.6856 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.0001824/0.9248, allocations: 224.9 kB / 0.9124 GB, free: 10.46 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.936e-05/0.9249, allocations: 124.9 kB / 0.9126 GB, free: 10.33 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.223e-05/0.925, allocations: 129.7 kB / 0.9127 GB, free: 10.2 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.435e-05/0.9251, allocations: 180.3 kB / 0.9128 GB, free: 10.02 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.404e-05/0.9251, allocations: 176.3 kB / 0.913 GB, free: 9.84 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.167e-05/0.9252, allocations: 184.2 kB / 0.9132 GB, free: 9.652 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003724/0.9256, allocations: 450.3 kB / 0.9136 GB, free: 9.164 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.605e-05/0.9257, allocations: 116.8 kB / 0.9137 GB, free: 9.043 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.63e-05/0.9257, allocations: 105 kB / 0.9138 GB, free: 8.934 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.747e-05/0.9258, allocations: 180.3 kB / 0.914 GB, free: 8.75 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.757e-05/0.9259, allocations: 180.2 kB / 0.9142 GB, free: 8.566 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001254/0.926, allocations: 176.3 kB / 0.9143 GB, free: 8.387 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.287e-05/0.9261, allocations: 184.2 kB / 0.9145 GB, free: 8.199 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002583/0.9264, allocations: 327.6 kB / 0.9148 GB, free: 7.855 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.9265, allocations: 128.8 kB / 0.915 GB, free: 7.723 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001135/0.9266, allocations: 184.3 kB / 0.9151 GB, free: 7.535 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/0.9267, allocations: 104.9 kB / 0.9152 GB, free: 7.426 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.521e-05/0.9268, allocations: 188.2 kB / 0.9154 GB, free: 7.234 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.263e-05/0.9269, allocations: 104.9 kB / 0.9155 GB, free: 7.125 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0002734/0.9272, allocations: 217.2 kB / 0.9157 GB, free: 6.914 MB / 0.6856 GB Notification: Performance of sort global known variables: time 8e-08/0.9272, allocations: 0 / 0.9157 GB, free: 6.914 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.000443/0.9276, allocations: 55.89 kB / 0.9158 GB, free: 6.859 MB / 0.6856 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.0006354/0.9282, allocations: 0.8515 MB / 0.9166 GB, free: 5.977 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0002094/0.9284, allocations: 80.08 kB / 0.9167 GB, free: 5.898 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.9285, allocations: 0 / 0.9167 GB, free: 5.898 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 1.192e-06/0.9285, allocations: 0 / 0.9167 GB, free: 5.898 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007471/0.9292, allocations: 496.6 kB / 0.9172 GB, free: 5.414 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003097/0.9323, allocations: 2.499 MB / 0.9196 GB, free: 2.723 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004476/0.9327, allocations: 0.7439 MB / 0.9203 GB, free: 1.953 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.000126/0.9329, allocations: 34.48 kB / 0.9204 GB, free: 1.922 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.933, allocations: 55.42 kB / 0.9204 GB, free: 1.867 MB / 0.6856 GB Notification: Performance of SimCode: time 3.1e-07/0.933, allocations: 0 / 0.9204 GB, free: 1.867 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03469/0.9677, allocations: 4.237 MB / 0.9245 GB, free: 13.8 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.99, allocations: 11.52 kB / 0.9246 GB, free: 13.79 MB / 0.7012 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.016065242001787] Failed to read output from testmodel.py, exit status != 0: 12.102415989000292 12.128232676 11.206065903 Calling exit ...