Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.001246/0.001246, 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.00136/0.00136, allocations: 222 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.372/1.372, allocations: 230.6 MB / 256.8 MB, free: 7.969 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.9182/0.9182, allocations: 150 MB / 463.2 MB, free: 10.45 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.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",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.00278/0.00278, allocations: 74.27 kB / 0.6413 GB, free: 10.29 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1991/0.2019, allocations: 89.17 MB / 0.7284 GB, free: 1.184 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003969/0.2058, allocations: 2.206 MB / 0.7305 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006258/0.2121, allocations: 4.262 MB / 0.7347 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002481/0.2123, allocations: 7.938 kB / 0.7347 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009742/0.2133, allocations: 195.4 kB / 0.7349 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003083/0.2136, allocations: 79.28 kB / 0.7349 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009897/0.2146, allocations: 343.2 kB / 0.7353 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0008471/0.2155, allocations: 452.4 kB / 0.7357 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001435/0.2156, allocations: 40.91 kB / 0.7357 GB, free: 9.586 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002633/0.2159, allocations: 143.5 kB / 0.7359 GB, free: 9.445 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002753/0.2161, allocations: 159.3 kB / 0.736 GB, free: 9.289 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.288e-05/0.2162, allocations: 20 kB / 0.736 GB, free: 9.27 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006786/0.2169, allocations: 363.5 kB / 0.7364 GB, free: 8.914 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001553/0.217, allocations: 119.6 kB / 0.7365 GB, free: 8.797 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002209/0.2173, allocations: 170.9 kB / 0.7367 GB, free: 8.629 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0009369/0.2182, allocations: 0.5876 MB / 0.7372 GB, free: 8.039 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.2182, allocations: 0 / 0.7372 GB, free: 8.039 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.343e-06/0.2182, allocations: 3.938 kB / 0.7372 GB, free: 8.035 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.578e-05/0.2182, allocations: 0 / 0.7372 GB, free: 8.035 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001658/0.2199, allocations: 0.7509 MB / 0.738 GB, free: 7.246 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.2199, allocations: 8.031 kB / 0.738 GB, free: 7.238 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.493e-05/0.22, allocations: 46.75 kB / 0.738 GB, free: 7.184 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001962/0.2219, allocations: 312.2 kB / 0.7383 GB, free: 6.879 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00107/0.223, allocations: 356.2 kB / 0.7387 GB, free: 6.504 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/0.223, allocations: 8 kB / 0.7387 GB, free: 6.496 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.272e-05/0.2231, allocations: 12 kB / 0.7387 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007217/0.2238, allocations: 269.9 kB / 0.7389 GB, free: 6.215 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.2238, allocations: 0 / 0.7389 GB, free: 6.215 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.394e-05/0.2238, allocations: 4 kB / 0.739 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.719e-06/0.2238, allocations: 7.938 kB / 0.739 GB, free: 6.203 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001032/0.2249, allocations: 346 kB / 0.7393 GB, free: 5.867 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001634/0.2265, allocations: 0.6787 MB / 0.74 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000603/0.2271, allocations: 218.4 kB / 0.7402 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005166/0.2276, allocations: 180.7 kB / 0.7403 GB, free: 4.742 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.212e-05/0.2277, allocations: 15.98 kB / 0.7403 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.885e-05/0.2277, allocations: 42.55 kB / 0.7404 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=13): time 1.342e-06/0.2277, allocations: 0 / 0.7404 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13): time 0.001843/0.2296, allocations: 0.5989 MB / 0.741 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.959e-05/0.2296, allocations: 55.39 kB / 0.741 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005148/0.2301, allocations: 445.9 kB / 0.7415 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.063e-05/0.2302, allocations: 25.7 kB / 0.7415 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001669/0.2303, allocations: 192.5 kB / 0.7417 GB, free: 3.336 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.231e-05/0.2304, allocations: 47.59 kB / 0.7417 GB, free: 3.289 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/0.2305, allocations: 53.67 kB / 0.7418 GB, free: 3.23 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001795/0.2307, allocations: 350.8 kB / 0.7421 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006653/0.2314, allocations: 300 kB / 0.7424 GB, free: 2.586 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006518/0.232, allocations: 308.3 kB / 0.7427 GB, free: 2.285 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001214/0.2332, allocations: 0.5228 MB / 0.7432 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2332, allocations: 0 / 0.7432 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001481/0.2347, allocations: 0.7345 MB / 0.7439 GB, free: 1.008 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.491e-05/0.2348, allocations: 45.69 kB / 0.7439 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.2348, allocations: 0 / 0.7439 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.187e-05/0.2348, allocations: 11.88 kB / 0.744 GB, free: 0.9453 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004869/0.2353, allocations: 63.91 kB / 0.744 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.2353, allocations: 4 kB / 0.744 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000393/0.2357, allocations: 59.73 kB / 0.7441 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.226e-05/0.2357, allocations: 7.984 kB / 0.7441 GB, free: 0.8125 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001942/0.2359, allocations: 159.7 kB / 0.7442 GB, free: 0.6484 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.326e-05/0.236, allocations: 43.72 kB / 0.7443 GB, free: 0.6055 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001323/0.2373, allocations: 476.3 kB / 0.7447 GB, free: 136 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.2373, allocations: 3.938 kB / 0.7447 GB, free: 132 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.2373, allocations: 3.938 kB / 0.7447 GB, free: 128 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.2373, allocations: 0 / 0.7447 GB, free: 128 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004735/0.2378, allocations: 360.3 kB / 0.7451 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.2378, allocations: 0 / 0.7451 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004213/0.2382, allocations: 63.86 kB / 0.7451 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.116e-05/0.2382, allocations: 11.98 kB / 0.7452 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.543e-05/0.2383, allocations: 7.984 kB / 0.7452 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.747e-06/0.2383, allocations: 3.938 kB / 0.7452 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2383, allocations: 0 / 0.7452 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001213/0.2395, allocations: 0.5146 MB / 0.7457 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000154/0.2396, allocations: 59.62 kB / 0.7457 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.229e-05/0.2397, allocations: 7.984 kB / 0.7457 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003752/0.2401, allocations: 39.89 kB / 0.7458 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.656e-05/0.2402, allocations: 23.91 kB / 0.7458 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.116e-05/0.2402, allocations: 7.984 kB / 0.7458 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003481/0.2405, allocations: 311.1 kB / 0.7461 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.2405, allocations: 4 kB / 0.7461 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005038/0.241, allocations: 127.8 kB / 0.7462 GB, free: 14.55 MB / 0.5762 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 (13): * Single equations (assignments): 13 * 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.00186/0.2429, allocations: 1.126 MB / 0.7473 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001424/0.2443, allocations: 0.6435 MB / 0.748 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2443, allocations: 0 / 0.748 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005708/0.2449, allocations: 187.8 kB / 0.7481 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000506/0.2454, allocations: 66.8 kB / 0.7482 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008167/0.2536, allocations: 5.318 MB / 0.7534 GB, free: 7.09 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004548/0.254, allocations: 0.8026 MB / 0.7542 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002977/0.2543, allocations: 69.91 kB / 0.7542 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002442/0.2546, allocations: 127.4 kB / 0.7544 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of SimCode: time 1.553e-06/0.2546, allocations: 0 / 0.7544 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3674/0.622, allocations: 9.572 MB / 0.7637 GB, free: 35.07 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/12.01, allocations: 5.812 kB / 0.7637 GB, free: 35.07 MB / 0.5762 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.fmu > IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.550762214930728] Failed to read output from testmodel.py, exit status != 0: 12.110724395839497 12.124794295 11.903202167 Calling exit ...