Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.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.001247/0.001247, allocations: 105 kB / 20.48 MB, free: 1.488 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.001415/0.001415, allocations: 213.4 kB / 23.79 MB, free: 4.703 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.386/1.386, allocations: 230.6 MB / 257.6 MB, free: 7.996 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.9559/0.9559, allocations: 150 MB / 463.9 MB, free: 10.5 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.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="cs",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.002792/0.002792, allocations: 66.44 kB / 0.642 GB, free: 10.38 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.21/0.2128, allocations: 89.16 MB / 0.7291 GB, free: 1.273 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.5628/0.7756, allocations: 165 MB / 0.8903 GB, free: 2.332 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.005812/0.7814, allocations: 3.548 MB / 0.8938 GB, free: 14.78 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004082/0.7818, allocations: 15.88 kB / 0.8938 GB, free: 14.77 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0004993/0.7823, allocations: 139 kB / 0.8939 GB, free: 14.63 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001386/0.7837, allocations: 481.9 kB / 0.8944 GB, free: 14.16 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001886/0.7856, allocations: 0.6269 MB / 0.895 GB, free: 13.53 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0009596/0.7866, allocations: 0.6361 MB / 0.8956 GB, free: 12.89 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004115/0.787, allocations: 192.8 kB / 0.8958 GB, free: 12.7 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001964/0.789, allocations: 0.4926 MB / 0.8963 GB, free: 12.22 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003588/0.7893, allocations: 207.1 kB / 0.8965 GB, free: 12.02 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 5.374e-05/0.7894, allocations: 24 kB / 0.8965 GB, free: 11.99 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001151/0.7905, allocations: 0.5807 MB / 0.897 GB, free: 11.41 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.000136/0.7907, allocations: 95.72 kB / 0.8971 GB, free: 11.32 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0001733/0.7908, allocations: 151.2 kB / 0.8973 GB, free: 11.17 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001006/0.7918, allocations: 0.5586 MB / 0.8978 GB, free: 10.62 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.7918, allocations: 0 / 0.8978 GB, free: 10.62 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.312e-06/0.7918, allocations: 0 / 0.8978 GB, free: 10.62 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.129e-05/0.7918, allocations: 8 kB / 0.8978 GB, free: 10.61 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001147/0.793, allocations: 0.5669 MB / 0.8984 GB, free: 10.01 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.793, allocations: 8.031 kB / 0.8984 GB, free: 10 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.036e-05/0.7931, allocations: 8.938 kB / 0.8984 GB, free: 9.996 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.614e-05/0.7931, allocations: 58.55 kB / 0.8985 GB, free: 9.93 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006066/0.7937, allocations: 79.75 kB / 0.8985 GB, free: 9.852 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004424/0.7942, allocations: 248.5 kB / 0.8988 GB, free: 9.586 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.237e-05/0.7942, allocations: 12.44 kB / 0.8988 GB, free: 9.57 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.925e-05/0.7942, allocations: 20 kB / 0.8988 GB, free: 9.551 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006788/0.7949, allocations: 312.1 kB / 0.8991 GB, free: 9.227 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.7949, allocations: 7.938 kB / 0.8991 GB, free: 9.219 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.786e-05/0.795, allocations: 8 kB / 0.8991 GB, free: 9.211 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/0.795, allocations: 4 kB / 0.8991 GB, free: 9.207 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006711/0.7956, allocations: 248.9 kB / 0.8994 GB, free: 8.965 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001721/0.7974, allocations: 1.225 MB / 0.9006 GB, free: 7.633 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004445/0.7978, allocations: 167.7 kB / 0.9007 GB, free: 7.461 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003212/0.7981, allocations: 120.7 kB / 0.9008 GB, free: 7.344 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004945/0.7986, allocations: 71.91 kB / 0.9009 GB, free: 7.273 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.7987, allocations: 34.56 kB / 0.9009 GB, free: 7.23 MB / 0.67 GB Notification: Performance of pre-optimization done (n=14): time 1.452e-06/0.7987, allocations: 4 kB / 0.9009 GB, free: 7.227 MB / 0.67 GB Notification: Performance of matching and sorting (n=14): time 0.00222/0.8009, allocations: 0.4999 MB / 0.9014 GB, free: 6.719 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.733e-05/0.8009, allocations: 55.41 kB / 0.9015 GB, free: 6.652 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002721/0.8012, allocations: 260.2 kB / 0.9017 GB, free: 6.387 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 3.15e-05/0.8012, allocations: 25.7 kB / 0.9018 GB, free: 6.355 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001291/0.8014, allocations: 172.2 kB / 0.9019 GB, free: 6.184 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 5.028e-05/0.8014, allocations: 55.53 kB / 0.902 GB, free: 6.129 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.544e-05/0.8015, allocations: 41.61 kB / 0.902 GB, free: 6.082 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.8017, allocations: 330.8 kB / 0.9023 GB, free: 5.75 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002934/0.8019, allocations: 95.91 kB / 0.9024 GB, free: 5.656 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003272/0.8023, allocations: 132.2 kB / 0.9025 GB, free: 5.512 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005971/0.8029, allocations: 248.1 kB / 0.9028 GB, free: 5.254 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.8029, allocations: 0 / 0.9028 GB, free: 5.254 MB / 0.67 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001213/0.8041, allocations: 348.8 kB / 0.9031 GB, free: 4.906 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.8041, allocations: 5.875 kB / 0.9031 GB, free: 4.902 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.8041, allocations: 4.125 kB / 0.9031 GB, free: 4.898 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006054/0.8047, allocations: 88.7 kB / 0.9032 GB, free: 4.809 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002319/0.805, allocations: 47.97 kB / 0.9032 GB, free: 4.762 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002422/0.8074, allocations: 1.631 MB / 0.9048 GB, free: 3.023 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002417/0.8076, allocations: 35.77 kB / 0.9049 GB, free: 2.988 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.8e-05/0.8076, allocations: 8 kB / 0.9049 GB, free: 2.98 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001817/0.8078, allocations: 145.8 kB / 0.905 GB, free: 2.828 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.055e-05/0.8079, allocations: 27.8 kB / 0.905 GB, free: 2.801 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001203/0.8091, allocations: 365.7 kB / 0.9054 GB, free: 2.441 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.8091, allocations: 3.984 kB / 0.9054 GB, free: 2.438 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.8091, allocations: 4 kB / 0.9054 GB, free: 2.434 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.8091, allocations: 0 / 0.9054 GB, free: 2.434 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00171/0.8108, allocations: 0.7425 MB / 0.9061 GB, free: 1.629 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/0.8108, allocations: 15.86 kB / 0.9061 GB, free: 1.613 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001962/0.811, allocations: 35.91 kB / 0.9062 GB, free: 1.578 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004256/0.8114, allocations: 76.88 kB / 0.9063 GB, free: 1.5 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.996e-05/0.8115, allocations: 7.938 kB / 0.9063 GB, free: 1.492 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002137/0.8136, allocations: 1.638 MB / 0.9079 GB, free: 15.73 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.8136, allocations: 8.094 kB / 0.9079 GB, free: 15.72 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001133/0.8147, allocations: 446.4 kB / 0.9083 GB, free: 15.26 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001201/0.8149, allocations: 47.77 kB / 0.9083 GB, free: 15.21 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.431e-05/0.8149, allocations: 8 kB / 0.9083 GB, free: 15.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002399/0.8151, allocations: 23.97 kB / 0.9084 GB, free: 15.18 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.706e-05/0.8152, allocations: 20.78 kB / 0.9084 GB, free: 15.16 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-05/0.8152, allocations: 8 kB / 0.9084 GB, free: 15.15 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0001966/0.8154, allocations: 187.1 kB / 0.9086 GB, free: 14.97 MB / 0.6856 GB Notification: Performance of sort global known variables: time 8e-08/0.8154, allocations: 0 / 0.9086 GB, free: 14.97 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0004143/0.8158, allocations: 83.83 kB / 0.9087 GB, free: 14.89 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001688/0.8175, allocations: 1.025 MB / 0.9097 GB, free: 13.82 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001014/0.8186, allocations: 354.4 kB / 0.91 GB, free: 13.46 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.8186, allocations: 0 / 0.91 GB, free: 13.46 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0006602/0.8192, allocations: 262.8 kB / 0.9102 GB, free: 13.2 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007702/0.82, allocations: 122.6 kB / 0.9104 GB, free: 13.08 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005191/0.8252, allocations: 2.811 MB / 0.9131 GB, free: 10.14 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004157/0.8256, allocations: 0.7713 MB / 0.9139 GB, free: 9.344 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.000225/0.8258, allocations: 62.23 kB / 0.9139 GB, free: 9.285 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001418/0.826, allocations: 75.41 kB / 0.914 GB, free: 9.211 MB / 0.6856 GB Notification: Performance of SimCode: time 1.202e-06/0.826, allocations: 8 kB / 0.914 GB, free: 9.203 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03685/0.8628, allocations: 8.855 MB / 0.9226 GB, free: 0.5977 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.77/13.63, allocations: 7.375 kB / 0.9227 GB, free: 0.5938 MB / 0.6856 GB " [Timeout remaining time 646] (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TemperatureWetBulb_fmu --startTime=0 --stopTime=120 --stepSize=0.048 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.329672275984194] Failed to read output from testmodel.py, exit status != 0: 13.807854610029608 13.831175198 13.034022137 Calling exit ...