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.001767/0.001767, allocations: 120.1 kB / 17.84 MB, free: 5.234 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.001651/0.001651, allocations: 203.9 kB / 20.79 MB, free: 2.297 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.377/1.377, allocations: 230.6 MB / 254.2 MB, free: 15.12 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.9095/0.9095, allocations: 150 MB / 460.2 MB, free: 5.34 MB / 350.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",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.001956/0.001956, allocations: 69.09 kB / 0.6368 GB, free: 30.38 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.1572, allocations: 89.14 MB / 0.7238 GB, free: 4.074 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003782/0.161, allocations: 2.198 MB / 0.726 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005664/0.1667, allocations: 4.227 MB / 0.7301 GB, free: 13.61 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001384/0.1668, allocations: 4 kB / 0.7301 GB, free: 13.61 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000762/0.1676, allocations: 183.3 kB / 0.7303 GB, free: 13.43 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001704/0.1677, allocations: 83.28 kB / 0.7304 GB, free: 13.35 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007544/0.1685, allocations: 330.6 kB / 0.7307 GB, free: 13.03 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0006831/0.1692, allocations: 458.5 kB / 0.7311 GB, free: 12.58 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001287/0.1693, allocations: 44.7 kB / 0.7312 GB, free: 12.53 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001806/0.1695, allocations: 135.5 kB / 0.7313 GB, free: 12.4 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000214/0.1697, allocations: 163.3 kB / 0.7315 GB, free: 12.24 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.109e-05/0.1697, allocations: 20 kB / 0.7315 GB, free: 12.22 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000535/0.1703, allocations: 339.5 kB / 0.7318 GB, free: 11.89 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001296/0.1704, allocations: 111.6 kB / 0.7319 GB, free: 11.78 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001734/0.1706, allocations: 174.9 kB / 0.7321 GB, free: 11.61 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007208/0.1713, allocations: 0.5798 MB / 0.7326 GB, free: 11.02 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1713, allocations: 4 kB / 0.7326 GB, free: 11.02 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.277e-06/0.1713, allocations: 3.984 kB / 0.7326 GB, free: 11.02 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.1713, allocations: 3.938 kB / 0.7327 GB, free: 11.01 MB / 0.545 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.001564/0.1729, allocations: 0.8184 MB / 0.7335 GB, free: 10.14 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.1729, allocations: 16.02 kB / 0.7335 GB, free: 10.12 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.697e-05/0.1729, allocations: 8.375 kB / 0.7335 GB, free: 10.11 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.609e-05/0.173, allocations: 38.75 kB / 0.7335 GB, free: 10.07 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002022/0.175, allocations: 316.2 kB / 0.7338 GB, free: 9.758 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001036/0.176, allocations: 417.7 kB / 0.7342 GB, free: 9.312 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.176, allocations: 4 kB / 0.7342 GB, free: 9.309 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.272e-05/0.1761, allocations: 12 kB / 0.7342 GB, free: 9.297 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007639/0.1768, allocations: 265.4 kB / 0.7345 GB, free: 9.031 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.1769, allocations: 0 / 0.7345 GB, free: 9.031 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.882e-05/0.1769, allocations: 11.94 kB / 0.7345 GB, free: 9.02 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.1769, allocations: 0 / 0.7345 GB, free: 9.02 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001115/0.178, allocations: 347.6 kB / 0.7348 GB, free: 8.68 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001582/0.1796, allocations: 0.6993 MB / 0.7355 GB, free: 7.93 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006479/0.1802, allocations: 222.4 kB / 0.7357 GB, free: 7.703 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005796/0.1808, allocations: 184.7 kB / 0.7359 GB, free: 7.52 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 6.439e-05/0.1809, allocations: 19.98 kB / 0.7359 GB, free: 7.5 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/0.1809, allocations: 34.56 kB / 0.7359 GB, free: 7.457 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 1.413e-06/0.1809, allocations: 0 / 0.7359 GB, free: 7.457 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.001933/0.1828, allocations: 0.595 MB / 0.7365 GB, free: 6.855 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/0.1829, allocations: 51.41 kB / 0.7366 GB, free: 6.793 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005049/0.1834, allocations: 461.7 kB / 0.737 GB, free: 6.336 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.735e-05/0.1834, allocations: 29.7 kB / 0.737 GB, free: 6.301 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001581/0.1836, allocations: 192.5 kB / 0.7372 GB, free: 6.109 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.87e-05/0.1836, allocations: 51.59 kB / 0.7373 GB, free: 6.059 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001148/0.1838, allocations: 49.69 kB / 0.7373 GB, free: 6.004 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001735/0.1839, allocations: 350.8 kB / 0.7377 GB, free: 5.652 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007192/0.1847, allocations: 316 kB / 0.738 GB, free: 5.344 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006895/0.1853, allocations: 300.3 kB / 0.7382 GB, free: 5.051 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001344/0.1867, allocations: 0.5249 MB / 0.7388 GB, free: 4.52 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.1867, allocations: 0 / 0.7388 GB, free: 4.52 MB / 0.545 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001692/0.1884, allocations: 0.7308 MB / 0.7395 GB, free: 3.777 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.556e-05/0.1884, allocations: 45.69 kB / 0.7395 GB, free: 3.727 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.1884, allocations: 3.938 kB / 0.7395 GB, free: 3.723 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/0.1885, allocations: 3.938 kB / 0.7395 GB, free: 3.719 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005131/0.189, allocations: 67.92 kB / 0.7396 GB, free: 3.652 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.189, allocations: 0 / 0.7396 GB, free: 3.652 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004217/0.1894, allocations: 59.77 kB / 0.7396 GB, free: 3.594 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.448e-05/0.1894, allocations: 11.98 kB / 0.7397 GB, free: 3.582 MB / 0.545 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.0001991/0.1896, allocations: 161.8 kB / 0.7398 GB, free: 3.414 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.632e-05/0.1897, allocations: 39.72 kB / 0.7398 GB, free: 3.375 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001432/0.1912, allocations: 472.8 kB / 0.7403 GB, free: 2.902 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.1912, allocations: 8 kB / 0.7403 GB, free: 2.895 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.1912, allocations: 0 / 0.7403 GB, free: 2.895 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.1912, allocations: 0 / 0.7403 GB, free: 2.895 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004632/0.1916, allocations: 389.1 kB / 0.7407 GB, free: 2.465 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.1916, allocations: 0 / 0.7407 GB, free: 2.465 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004749/0.1921, allocations: 67.84 kB / 0.7407 GB, free: 2.398 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.1921, allocations: 0 / 0.7407 GB, free: 2.398 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.725e-05/0.1921, allocations: 15.92 kB / 0.7408 GB, free: 2.383 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.1921, allocations: 4 kB / 0.7408 GB, free: 2.379 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1921, allocations: 0 / 0.7408 GB, free: 2.379 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00132/0.1935, allocations: 0.5089 MB / 0.7413 GB, free: 1.855 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000169/0.1936, allocations: 136.8 kB / 0.7414 GB, free: 1.703 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.241e-05/0.1937, allocations: 7.938 kB / 0.7414 GB, free: 1.695 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003927/0.1941, allocations: 39.94 kB / 0.7414 GB, free: 1.656 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.845e-05/0.1942, allocations: 11.98 kB / 0.7414 GB, free: 1.645 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.397e-05/0.1942, allocations: 7.984 kB / 0.7415 GB, free: 1.637 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003391/0.1945, allocations: 311.1 kB / 0.7418 GB, free: 1.336 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.1945, allocations: 0 / 0.7418 GB, free: 1.336 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004847/0.195, allocations: 139.7 kB / 0.7419 GB, free: 1.199 MB / 0.545 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.001882/0.1969, allocations: 1.13 MB / 0.743 GB, free: 44 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001535/0.1984, allocations: 0.6411 MB / 0.7436 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1984, allocations: 0 / 0.7436 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006143/0.199, allocations: 198.3 kB / 0.7438 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004655/0.1995, allocations: 63.75 kB / 0.7439 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008216/0.2077, allocations: 5.318 MB / 0.7491 GB, free: 9.723 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004611/0.2082, allocations: 0.8026 MB / 0.7498 GB, free: 8.895 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002839/0.2085, allocations: 61.92 kB / 0.7499 GB, free: 8.836 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000239/0.2087, allocations: 119.4 kB / 0.75 GB, free: 8.719 MB / 0.5606 GB Notification: Performance of SimCode: time 7.51e-07/0.2087, allocations: 4 kB / 0.75 GB, free: 8.715 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03068/0.2394, allocations: 9.477 MB / 0.7593 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.849/9.089, allocations: 16.22 kB / 0.7593 GB, free: 15.41 MB / 0.5762 GB " [Timeout remaining time 651] (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: 12.765717045054771] Failed to read output from testmodel.py, exit status != 0: 9.216091894020792 9.238667255 9.063293152 Calling exit ...