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.00129/0.00129, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.001325/0.001325, allocations: 209.4 kB / 23.77 MB, free: 4.559 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.391/1.391, allocations: 230.6 MB / 257.6 MB, free: 7.812 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.9581/0.9581, allocations: 150 MB / 464 MB, free: 10.23 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="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.001997/0.001997, allocations: 69.75 kB / 0.642 GB, free: 9.922 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1704/0.1724, allocations: 89.17 MB / 0.729 GB, free: 0.8164 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003821/0.1762, allocations: 2.084 MB / 0.7311 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00546/0.1816, allocations: 3.915 MB / 0.7349 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001398/0.1818, allocations: 0 / 0.7349 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008413/0.1826, allocations: 190.1 kB / 0.7351 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001864/0.1828, allocations: 83.28 kB / 0.7352 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008283/0.1836, allocations: 337 kB / 0.7355 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007358/0.1844, allocations: 450.6 kB / 0.7359 GB, free: 9.75 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/0.1845, allocations: 44.83 kB / 0.736 GB, free: 9.703 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002002/0.1847, allocations: 147.5 kB / 0.7361 GB, free: 9.559 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002179/0.1849, allocations: 159.4 kB / 0.7362 GB, free: 9.402 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.085e-05/0.185, allocations: 20 kB / 0.7363 GB, free: 9.383 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005756/0.1856, allocations: 335.5 kB / 0.7366 GB, free: 9.055 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001454/0.1857, allocations: 127.5 kB / 0.7367 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001519/0.1858, allocations: 131.2 kB / 0.7368 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0007451/0.1866, allocations: 0.5915 MB / 0.7374 GB, free: 8.207 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.453e-06/0.1866, allocations: 3.984 kB / 0.7374 GB, free: 8.203 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.483e-06/0.1866, allocations: 7.938 kB / 0.7374 GB, free: 8.195 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.935e-06/0.1866, allocations: 0 / 0.7374 GB, free: 8.195 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.001476/0.1881, allocations: 0.7431 MB / 0.7381 GB, free: 7.414 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.1881, allocations: 12.02 kB / 0.7382 GB, free: 7.402 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.678e-05/0.1881, allocations: 4.375 kB / 0.7382 GB, free: 7.398 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.649e-05/0.1882, allocations: 46.75 kB / 0.7382 GB, free: 7.344 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001945/0.1901, allocations: 308.3 kB / 0.7385 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000996/0.1911, allocations: 359.8 kB / 0.7388 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.1911, allocations: 8 kB / 0.7389 GB, free: 6.656 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.686e-05/0.1912, allocations: 12 kB / 0.7389 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007361/0.1919, allocations: 262.3 kB / 0.7391 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.1919, allocations: 4 kB / 0.7391 GB, free: 6.379 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.891e-05/0.192, allocations: 7.938 kB / 0.7391 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.192, allocations: 0 / 0.7391 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001041/0.193, allocations: 351.7 kB / 0.7395 GB, free: 6.027 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001522/0.1945, allocations: 0.6281 MB / 0.7401 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005844/0.1951, allocations: 214.4 kB / 0.7403 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005151/0.1956, allocations: 180.7 kB / 0.7405 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.69e-05/0.1957, allocations: 19.98 kB / 0.7405 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/0.1957, allocations: 42.5 kB / 0.7405 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=13): time 1.463e-06/0.1957, allocations: 0 / 0.7405 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13): time 0.001733/0.1975, allocations: 0.5982 MB / 0.7411 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.754e-05/0.1975, allocations: 51.41 kB / 0.7411 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000492/0.198, allocations: 449.9 kB / 0.7416 GB, free: 3.773 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.413e-05/0.198, allocations: 25.7 kB / 0.7416 GB, free: 3.742 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001536/0.1982, allocations: 196.5 kB / 0.7418 GB, free: 3.547 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.939e-05/0.1982, allocations: 51.59 kB / 0.7418 GB, free: 3.496 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001154/0.1984, allocations: 49.69 kB / 0.7419 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001653/0.1985, allocations: 354.8 kB / 0.7422 GB, free: 3.086 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006744/0.1992, allocations: 341.7 kB / 0.7425 GB, free: 2.746 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006616/0.1999, allocations: 350 kB / 0.7429 GB, free: 2.398 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001176/0.201, allocations: 0.5345 MB / 0.7434 GB, free: 1.855 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.201, allocations: 0 / 0.7434 GB, free: 1.855 MB / 0.5606 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001523/0.2026, allocations: 0.7752 MB / 0.7442 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.181e-05/0.2026, allocations: 45.69 kB / 0.7442 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.2026, allocations: 3.938 kB / 0.7442 GB, free: 1.008 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.2026, allocations: 4 kB / 0.7442 GB, free: 1.004 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005013/0.2031, allocations: 75.84 kB / 0.7443 GB, free: 0.9297 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.2031, allocations: 0 / 0.7443 GB, free: 0.9297 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003921/0.2035, allocations: 55.73 kB / 0.7443 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.372e-05/0.2036, allocations: 7.984 kB / 0.7443 GB, free: 0.8672 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.0001835/0.2037, allocations: 165.8 kB / 0.7445 GB, free: 0.6953 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.529e-05/0.2038, allocations: 43.66 kB / 0.7445 GB, free: 0.6523 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001287/0.2051, allocations: 476.7 kB / 0.745 GB, free: 180 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.2051, allocations: 0 / 0.745 GB, free: 180 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.2051, allocations: 4 kB / 0.745 GB, free: 176 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.2051, allocations: 7.984 kB / 0.745 GB, free: 168 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004107/0.2055, allocations: 316.3 kB / 0.7453 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2055, allocations: 0 / 0.7453 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004532/0.206, allocations: 63.91 kB / 0.7454 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.206, allocations: 0 / 0.7454 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.815e-05/0.206, allocations: 11.92 kB / 0.7454 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.206, allocations: 0 / 0.7454 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.206, allocations: 4 kB / 0.7454 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00117/0.2072, allocations: 0.5107 MB / 0.7459 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001366/0.2073, allocations: 67.61 kB / 0.746 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.888e-05/0.2074, allocations: 7.938 kB / 0.746 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003829/0.2078, allocations: 39.94 kB / 0.746 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.757e-05/0.2078, allocations: 19.97 kB / 0.746 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.229e-05/0.2079, allocations: 8 kB / 0.746 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003263/0.2082, allocations: 315.1 kB / 0.7463 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.2082, allocations: 0 / 0.7463 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004789/0.2087, allocations: 127.8 kB / 0.7464 GB, free: 14.64 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.001717/0.2104, allocations: 1.126 MB / 0.7475 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001365/0.2118, allocations: 0.6412 MB / 0.7482 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.2118, allocations: 8 kB / 0.7482 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005398/0.2123, allocations: 187.6 kB / 0.7484 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004782/0.2128, allocations: 64.2 kB / 0.7484 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007743/0.2205, allocations: 5.498 MB / 0.7538 GB, free: 6.969 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001858/0.2207, allocations: 195.5 kB / 0.754 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002992/0.221, allocations: 61.92 kB / 0.754 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002307/0.2212, allocations: 123.4 kB / 0.7542 GB, free: 6.582 MB / 0.5762 GB Notification: Performance of SimCode: time 7.41e-07/0.2212, allocations: 0 / 0.7542 GB, free: 6.582 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.358/0.5792, allocations: 9.93 MB / 0.7638 GB, free: 35.38 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/12.23, allocations: 8.359 kB / 0.7639 GB, free: 35.38 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.96841322502587] Failed to read output from testmodel.py, exit status != 0: 12.393503389088437 12.407556731 12.217955391 Calling exit ...