Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h.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.001586/0.001586, 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.001527/0.001527, allocations: 215.6 kB / 22.99 MB, free: 4.609 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.387/1.387, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.9344/0.9344, allocations: 149.9 MB / 463 MB, free: 10.33 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.Sources.Examples.PropertySource_h,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_PropertySource_h",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.002146/0.002146, allocations: 63.84 kB / 0.6411 GB, free: 10.12 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1756/0.1777, allocations: 89.18 MB / 0.7282 GB, free: 1.004 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.PropertySource_h): time 0.5412/0.7189, allocations: 155.4 MB / 0.8799 GB, free: 9.828 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01103/0.7299, allocations: 8.013 MB / 0.8877 GB, free: 1.797 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007042/0.7306, allocations: 35.69 kB / 0.8877 GB, free: 1.762 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0009166/0.7316, allocations: 305.7 kB / 0.888 GB, free: 1.461 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001025/0.7326, allocations: 318.4 kB / 0.8883 GB, free: 1.148 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0013/0.7339, allocations: 394.5 kB / 0.8887 GB, free: 0.7656 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001739/0.7356, allocations: 1.156 MB / 0.8898 GB, free: 15.61 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009484/0.7366, allocations: 443.1 kB / 0.8903 GB, free: 15.17 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005409/0.742, allocations: 2.082 MB / 0.8923 GB, free: 13.08 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006926/0.7427, allocations: 354.3 kB / 0.8926 GB, free: 12.73 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001124/0.7428, allocations: 36 kB / 0.8927 GB, free: 12.7 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002892/0.7431, allocations: 83.95 kB / 0.8927 GB, free: 12.62 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0003511/0.7434, allocations: 267.3 kB / 0.893 GB, free: 12.36 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0003743/0.7438, allocations: 242.8 kB / 0.8932 GB, free: 12.12 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0008762/0.7447, allocations: 0.6302 MB / 0.8938 GB, free: 11.48 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.7447, allocations: 3.938 kB / 0.8938 GB, free: 11.48 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.593e-06/0.7447, allocations: 0 / 0.8938 GB, free: 11.48 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.542e-05/0.7447, allocations: 0 / 0.8938 GB, free: 11.48 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.001289/0.746, allocations: 0.7774 MB / 0.8946 GB, free: 10.67 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.746, allocations: 8.031 kB / 0.8946 GB, free: 10.66 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001258/0.7462, allocations: 94.52 kB / 0.8947 GB, free: 10.56 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001358/0.7463, allocations: 68.33 kB / 0.8948 GB, free: 10.49 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000803/0.7471, allocations: 387.3 kB / 0.8951 GB, free: 10.09 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.851e-05/0.7471, allocations: 45.23 kB / 0.8952 GB, free: 10.04 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.885e-05/0.7472, allocations: 52 kB / 0.8952 GB, free: 9.992 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001106/0.7483, allocations: 0.7028 MB / 0.8959 GB, free: 9.207 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.155e-05/0.7483, allocations: 7.875 kB / 0.8959 GB, free: 9.199 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.627e-05/0.7484, allocations: 24 kB / 0.8959 GB, free: 9.176 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.291e-05/0.7484, allocations: 27.98 kB / 0.896 GB, free: 9.148 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000685/0.7491, allocations: 380.6 kB / 0.8963 GB, free: 8.777 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002957/0.7521, allocations: 3.068 MB / 0.8993 GB, free: 5.57 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003127/0.7524, allocations: 222.1 kB / 0.8995 GB, free: 5.262 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002031/0.7526, allocations: 124.5 kB / 0.8997 GB, free: 5.109 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 1.512e-05/0.7526, allocations: 4 kB / 0.8997 GB, free: 5.105 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.074e-05/0.7527, allocations: 50.44 kB / 0.8997 GB, free: 5.047 MB / 0.67 GB Notification: Performance of pre-optimization done (n=10): time 1.724e-06/0.7527, allocations: 4 kB / 0.8997 GB, free: 5.043 MB / 0.67 GB Notification: Performance of matching and sorting (n=10): time 0.000677/0.7533, allocations: 246.2 kB / 0.9 GB, free: 4.797 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001693/0.7535, allocations: 294.7 kB / 0.9002 GB, free: 4.441 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007976/0.7543, allocations: 0.6799 MB / 0.9009 GB, free: 3.754 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.237e-05/0.7543, allocations: 33.73 kB / 0.9009 GB, free: 3.715 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002364/0.7546, allocations: 268.3 kB / 0.9012 GB, free: 3.449 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 4.024e-05/0.7546, allocations: 35.69 kB / 0.9012 GB, free: 3.414 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.686e-05/0.7547, allocations: 29.7 kB / 0.9012 GB, free: 3.379 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001935/0.7549, allocations: 366.8 kB / 0.9016 GB, free: 3.012 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001126/0.755, allocations: 43.89 kB / 0.9016 GB, free: 2.969 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000239/0.7552, allocations: 222.1 kB / 0.9019 GB, free: 2.703 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002488/0.7555, allocations: 129 kB / 0.902 GB, free: 2.559 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.7555, allocations: 0 / 0.902 GB, free: 2.559 MB / 0.67 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003591/0.7558, allocations: 198.9 kB / 0.9022 GB, free: 2.359 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.7558, allocations: 4 kB / 0.9022 GB, free: 2.355 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.7558, allocations: 7.984 kB / 0.9022 GB, free: 2.348 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.7558, allocations: 3.938 kB / 0.9022 GB, free: 2.344 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002064/0.7561, allocations: 39.91 kB / 0.9022 GB, free: 2.305 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.7561, allocations: 0 / 0.9022 GB, free: 2.305 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002019/0.7563, allocations: 63.69 kB / 0.9023 GB, free: 2.242 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.052e-05/0.7563, allocations: 7.984 kB / 0.9023 GB, free: 2.234 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (10): * Single equations (assignments): 10 * 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.0002144/0.7565, allocations: 209.7 kB / 0.9025 GB, free: 2.02 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002092/0.7567, allocations: 67.56 kB / 0.9026 GB, free: 1.953 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.359e-05/0.7568, allocations: 60.25 kB / 0.9026 GB, free: 1.891 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.7568, allocations: 4 kB / 0.9026 GB, free: 1.887 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.7568, allocations: 0 / 0.9026 GB, free: 1.887 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.794e-06/0.7568, allocations: 4.875 kB / 0.9026 GB, free: 1.883 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001448/0.7583, allocations: 1.237 MB / 0.9038 GB, free: 0.5625 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.7583, allocations: 4 kB / 0.9038 GB, free: 0.5586 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001937/0.7585, allocations: 47.88 kB / 0.9039 GB, free: 0.5117 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 5e-06/0.7585, allocations: 4 kB / 0.9039 GB, free: 0.5078 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.7585, allocations: 4 kB / 0.9039 GB, free: 0.5039 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.7585, allocations: 7.375 kB / 0.9039 GB, free: 0.5 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/0.7585, allocations: 7.938 kB / 0.9039 GB, free: 0.4922 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004049/0.7589, allocations: 342.8 kB / 0.9042 GB, free: 116 kB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001639/0.759, allocations: 79.53 kB / 0.9043 GB, free: 36 kB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.387e-05/0.7591, allocations: 4 kB / 0.9043 GB, free: 32 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001642/0.7593, allocations: 7.984 kB / 0.9043 GB, free: 24 kB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.328e-05/0.7593, allocations: 23.86 kB / 0.9043 GB, free: 0 / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.333e-05/0.7593, allocations: 4.047 kB / 0.9043 GB, free: 15.99 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0005678/0.7599, allocations: 0.4951 MB / 0.9048 GB, free: 15.51 MB / 0.6856 GB Notification: Performance of sort global known variables: time 7e-08/0.7599, allocations: 0 / 0.9048 GB, free: 15.51 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0003693/0.7603, allocations: 83.89 kB / 0.9049 GB, free: 15.43 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (10): * Single equations (assignments): 10 * 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.0008211/0.7611, allocations: 0.8873 MB / 0.9058 GB, free: 14.48 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0003176/0.7614, allocations: 116.1 kB / 0.9059 GB, free: 14.37 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.7614, allocations: 4.062 kB / 0.9059 GB, free: 14.37 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0001384/0.7616, allocations: 55.84 kB / 0.9059 GB, free: 14.31 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001264/0.7628, allocations: 281.3 kB / 0.9062 GB, free: 14.06 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005598/0.7684, allocations: 4.47 MB / 0.9106 GB, free: 9.426 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003174/0.7687, allocations: 301.7 kB / 0.9109 GB, free: 9.105 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0002593/0.769, allocations: 112.6 kB / 0.911 GB, free: 8.996 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002146/0.7692, allocations: 167.4 kB / 0.9111 GB, free: 8.832 MB / 0.6856 GB Notification: Performance of SimCode: time 5.1e-07/0.7692, allocations: 0 / 0.9111 GB, free: 8.832 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04713/0.8163, allocations: 15.2 MB / 0.926 GB, free: 10.01 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/12.01, allocations: 16.22 kB / 0.926 GB, free: 10 MB / 0.7012 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h_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_Sources_Examples_PropertySource_h.fmu > IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.661981471348554] Failed to read output from testmodel.py, exit status != 0: 12.120524608995765 12.136700245 11.3886971 Calling exit ...