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.001228/0.001228, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001408/0.001408, allocations: 216.2 kB / 22.99 MB, free: 4.973 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.392/1.392, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.9257/0.9257, allocations: 149.9 MB / 463 MB, free: 10.32 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.002001/0.002001, allocations: 64.39 kB / 0.6411 GB, free: 10.14 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1651/0.1671, allocations: 89.18 MB / 0.7282 GB, free: 1.039 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.PropertySource_h): time 0.5268/0.6939, allocations: 155.4 MB / 0.8799 GB, free: 9.812 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01063/0.7045, allocations: 8.012 MB / 0.8877 GB, free: 1.781 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008527/0.7054, allocations: 31.69 kB / 0.8877 GB, free: 1.75 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0008911/0.7063, allocations: 309.7 kB / 0.888 GB, free: 1.445 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.00085/0.7071, allocations: 318.4 kB / 0.8883 GB, free: 1.133 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001103/0.7082, allocations: 386.5 kB / 0.8887 GB, free: 0.7578 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.00144/0.7097, allocations: 1.16 MB / 0.8898 GB, free: 15.6 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007149/0.7104, allocations: 443.1 kB / 0.8903 GB, free: 15.16 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005044/0.7154, allocations: 2.082 MB / 0.8923 GB, free: 13.07 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000565/0.716, allocations: 354.3 kB / 0.8926 GB, free: 12.72 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 7.608e-05/0.7161, allocations: 40 kB / 0.8927 GB, free: 12.68 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002316/0.7163, allocations: 79.95 kB / 0.8927 GB, free: 12.61 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.000284/0.7166, allocations: 271.2 kB / 0.893 GB, free: 12.34 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0002628/0.7169, allocations: 226.9 kB / 0.8932 GB, free: 12.12 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0007832/0.7176, allocations: 0.6418 MB / 0.8938 GB, free: 11.47 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.7176, allocations: 0 / 0.8938 GB, free: 11.47 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.333e-06/0.7176, allocations: 0 / 0.8938 GB, free: 11.47 MB / 0.67 GB Notification: Performance of Transformations before backend: time 9.999e-06/0.7177, allocations: 4 kB / 0.8939 GB, free: 11.47 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.001077/0.7187, allocations: 0.7696 MB / 0.8946 GB, free: 10.66 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.7188, allocations: 12.03 kB / 0.8946 GB, free: 10.65 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001183/0.7189, allocations: 98.5 kB / 0.8947 GB, free: 10.55 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001096/0.719, allocations: 68.2 kB / 0.8948 GB, free: 10.48 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007789/0.7198, allocations: 383.3 kB / 0.8951 GB, free: 10.08 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.304e-05/0.7198, allocations: 37.31 kB / 0.8952 GB, free: 10.04 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.548e-05/0.7199, allocations: 59.98 kB / 0.8952 GB, free: 9.984 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00108/0.721, allocations: 0.7066 MB / 0.8959 GB, free: 9.195 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/0.721, allocations: 7.875 kB / 0.8959 GB, free: 9.188 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.227e-05/0.7211, allocations: 31.92 kB / 0.896 GB, free: 9.156 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.653e-05/0.7211, allocations: 27.98 kB / 0.896 GB, free: 9.129 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000688/0.7218, allocations: 372.4 kB / 0.8963 GB, free: 8.766 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002908/0.7247, allocations: 3.075 MB / 0.8993 GB, free: 5.551 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002915/0.725, allocations: 214.2 kB / 0.8995 GB, free: 5.25 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002092/0.7252, allocations: 128.5 kB / 0.8997 GB, free: 5.094 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 1.28e-05/0.7252, allocations: 4 kB / 0.8997 GB, free: 5.09 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.098e-05/0.7253, allocations: 51.05 kB / 0.8997 GB, free: 5.031 MB / 0.67 GB Notification: Performance of pre-optimization done (n=10): time 1.813e-06/0.7253, allocations: 0 / 0.8997 GB, free: 5.031 MB / 0.67 GB Notification: Performance of matching and sorting (n=10): time 0.0007117/0.726, allocations: 249.8 kB / 0.9 GB, free: 4.781 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001734/0.7262, allocations: 294.7 kB / 0.9002 GB, free: 4.426 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008307/0.727, allocations: 0.6838 MB / 0.9009 GB, free: 3.734 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.546e-05/0.727, allocations: 29.7 kB / 0.9009 GB, free: 3.699 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002461/0.7273, allocations: 268.3 kB / 0.9012 GB, free: 3.434 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 4.271e-05/0.7273, allocations: 35.69 kB / 0.9012 GB, free: 3.398 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.134e-05/0.7274, allocations: 30.11 kB / 0.9013 GB, free: 3.363 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002091/0.7276, allocations: 374.8 kB / 0.9016 GB, free: 2.988 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001156/0.7277, allocations: 35.97 kB / 0.9016 GB, free: 2.953 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002612/0.728, allocations: 229.9 kB / 0.9019 GB, free: 2.68 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002597/0.7282, allocations: 121 kB / 0.902 GB, free: 2.543 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.7282, allocations: 0.6875 kB / 0.902 GB, free: 2.543 MB / 0.67 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003761/0.7286, allocations: 205 kB / 0.9022 GB, free: 2.336 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.7286, allocations: 4 kB / 0.9022 GB, free: 2.332 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.7286, allocations: 0 / 0.9022 GB, free: 2.332 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.7286, allocations: 4.188 kB / 0.9022 GB, free: 2.328 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002302/0.7289, allocations: 43.95 kB / 0.9022 GB, free: 2.285 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.7289, allocations: 3.938 kB / 0.9022 GB, free: 2.281 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002407/0.7291, allocations: 60.19 kB / 0.9023 GB, free: 2.223 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.65e-05/0.7291, allocations: 8 kB / 0.9023 GB, free: 2.215 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.0002249/0.7294, allocations: 197.7 kB / 0.9025 GB, free: 2.012 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000205/0.7296, allocations: 63.56 kB / 0.9025 GB, free: 1.949 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.863e-05/0.7297, allocations: 68.25 kB / 0.9026 GB, free: 1.879 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.7297, allocations: 4 kB / 0.9026 GB, free: 1.875 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.383e-06/0.7297, allocations: 4 kB / 0.9026 GB, free: 1.871 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.7297, allocations: 4.562 kB / 0.9026 GB, free: 1.867 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001458/0.7312, allocations: 1.234 MB / 0.9038 GB, free: 0.5508 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.002e-06/0.7312, allocations: 7.984 kB / 0.9038 GB, free: 0.543 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001918/0.7313, allocations: 44.88 kB / 0.9039 GB, free: 0.5 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.7314, allocations: 0 / 0.9039 GB, free: 0.5 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.7314, allocations: 4 kB / 0.9039 GB, free: 0.4961 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.276e-06/0.7314, allocations: 11.92 kB / 0.9039 GB, free: 496 kB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.396e-06/0.7314, allocations: 7.938 kB / 0.9039 GB, free: 488 kB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000423/0.7318, allocations: 334.7 kB / 0.9042 GB, free: 108 kB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002029/0.732, allocations: 87.16 kB / 0.9043 GB, free: 24 kB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.535e-05/0.7321, allocations: 8 kB / 0.9043 GB, free: 16 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001722/0.7322, allocations: 7.984 kB / 0.9043 GB, free: 8 kB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.672e-05/0.7323, allocations: 19.94 kB / 0.9043 GB, free: 15.98 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.979e-06/0.7323, allocations: 8 kB / 0.9043 GB, free: 15.98 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0005995/0.7329, allocations: 0.4912 MB / 0.9048 GB, free: 15.49 MB / 0.6856 GB Notification: Performance of sort global known variables: time 8.1e-08/0.7329, allocations: 4 kB / 0.9048 GB, free: 15.49 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.00041/0.7333, allocations: 79.89 kB / 0.9049 GB, free: 15.41 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.0009119/0.7342, allocations: 0.8951 MB / 0.9058 GB, free: 14.46 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0003173/0.7346, allocations: 107.8 kB / 0.9059 GB, free: 14.36 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.7346, allocations: 0 / 0.9059 GB, free: 14.36 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0001516/0.7347, allocations: 68.77 kB / 0.9059 GB, free: 14.29 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001276/0.736, allocations: 277.8 kB / 0.9062 GB, free: 14.04 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005759/0.7417, allocations: 4.455 MB / 0.9106 GB, free: 9.414 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003305/0.7421, allocations: 305.7 kB / 0.9109 GB, free: 9.09 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0003149/0.7424, allocations: 104.6 kB / 0.911 GB, free: 8.988 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002322/0.7426, allocations: 171.4 kB / 0.9111 GB, free: 8.82 MB / 0.6856 GB Notification: Performance of SimCode: time 1.133e-06/0.7426, allocations: 4 kB / 0.9111 GB, free: 8.816 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04622/0.7888, allocations: 15.2 MB / 0.926 GB, free: 10 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.96, allocations: 11.98 kB / 0.926 GB, free: 9.988 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sources_Examples_PropertySource_h_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.601449857931584] Failed to read output from testmodel.py, exit status != 0: 12.074170509818941 12.102045549 11.378626836 Calling exit ...