Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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.001702/0.001702, allocations: 122 kB / 17.84 MB, free: 5.254 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.00201/0.00201, allocations: 199.9 kB / 20.79 MB, free: 2.316 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.398/1.398, allocations: 230.6 MB / 254.2 MB, free: 15.09 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.9142/0.9142, allocations: 150 MB / 460.2 MB, free: 5.621 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.ASHRAEHeatLoss,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",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.002888/0.002888, allocations: 72.17 kB / 0.6368 GB, free: 30.32 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1746/0.1774, allocations: 89.13 MB / 0.7238 GB, free: 4.023 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003305/0.1807, allocations: 1.894 MB / 0.7257 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004491/0.1852, allocations: 3.666 MB / 0.7293 GB, free: 14.43 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.891e-05/0.1853, allocations: 4 kB / 0.7293 GB, free: 14.43 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000718/0.1861, allocations: 171.5 kB / 0.7294 GB, free: 14.26 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001952/0.1863, allocations: 79.47 kB / 0.7295 GB, free: 14.18 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001237/0.1864, allocations: 51.92 kB / 0.7296 GB, free: 14.13 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004769/0.1869, allocations: 267.1 kB / 0.7298 GB, free: 13.87 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.187, allocations: 25.55 kB / 0.7298 GB, free: 13.84 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001185/0.1871, allocations: 71.7 kB / 0.7299 GB, free: 13.77 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001469/0.1872, allocations: 87.55 kB / 0.73 GB, free: 13.69 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.327e-05/0.1872, allocations: 8 kB / 0.73 GB, free: 13.68 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.694e-05/0.1873, allocations: 35.97 kB / 0.73 GB, free: 13.64 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.736e-05/0.1874, allocations: 55.77 kB / 0.7301 GB, free: 13.59 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.878e-05/0.1875, allocations: 91.41 kB / 0.7302 GB, free: 13.5 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002695/0.1878, allocations: 183.1 kB / 0.7303 GB, free: 13.32 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1878, allocations: 7.938 kB / 0.7304 GB, free: 13.31 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.383e-06/0.1878, allocations: 0 / 0.7304 GB, free: 13.31 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.1878, allocations: 0 / 0.7304 GB, free: 13.31 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009094/0.1887, allocations: 0.5409 MB / 0.7309 GB, free: 12.72 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.1887, allocations: 8.031 kB / 0.7309 GB, free: 12.71 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.015e-05/0.1888, allocations: 4.188 kB / 0.7309 GB, free: 12.71 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.299e-05/0.1888, allocations: 38.73 kB / 0.7309 GB, free: 12.66 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008772/0.1897, allocations: 124.6 kB / 0.731 GB, free: 12.54 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005071/0.1902, allocations: 267.5 kB / 0.7313 GB, free: 12.25 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.1902, allocations: 4 kB / 0.7313 GB, free: 12.24 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.927e-05/0.1902, allocations: 0 / 0.7313 GB, free: 12.24 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003839/0.1906, allocations: 153.5 kB / 0.7315 GB, free: 12.09 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.1906, allocations: 3.984 kB / 0.7315 GB, free: 12.08 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.83e-05/0.1906, allocations: 4 kB / 0.7315 GB, free: 12.08 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.371e-05/0.1907, allocations: 8 kB / 0.7315 GB, free: 12.07 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004729/0.1911, allocations: 159.7 kB / 0.7316 GB, free: 11.91 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007366/0.1919, allocations: 460.5 kB / 0.7321 GB, free: 11.41 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004398/0.1923, allocations: 162.5 kB / 0.7322 GB, free: 11.25 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002678/0.1926, allocations: 104.8 kB / 0.7323 GB, free: 11.14 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.26e-05/0.1926, allocations: 11.92 kB / 0.7323 GB, free: 11.13 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.185e-05/0.1926, allocations: 30.56 kB / 0.7324 GB, free: 11.09 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 9.92e-07/0.1926, allocations: 0 / 0.7324 GB, free: 11.09 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.0009245/0.1936, allocations: 313.5 kB / 0.7327 GB, free: 10.78 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.26e-05/0.1936, allocations: 59.34 kB / 0.7327 GB, free: 10.71 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002418/0.1938, allocations: 242.7 kB / 0.7329 GB, free: 10.46 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.526e-05/0.1939, allocations: 33.64 kB / 0.733 GB, free: 10.42 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.194, allocations: 136.1 kB / 0.7331 GB, free: 10.28 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.111e-05/0.194, allocations: 43.64 kB / 0.7331 GB, free: 10.24 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.379e-05/0.1941, allocations: 33.7 kB / 0.7332 GB, free: 10.2 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.1942, allocations: 330.8 kB / 0.7335 GB, free: 9.867 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002388/0.1945, allocations: 75.94 kB / 0.7336 GB, free: 9.793 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002349/0.1947, allocations: 89.61 kB / 0.7336 GB, free: 9.707 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004782/0.1952, allocations: 168.7 kB / 0.7338 GB, free: 9.539 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1952, allocations: 0 / 0.7338 GB, free: 9.539 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005765/0.1958, allocations: 227.5 kB / 0.734 GB, free: 9.312 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.1958, allocations: 9.562 kB / 0.734 GB, free: 9.305 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.1958, allocations: 0 / 0.734 GB, free: 9.305 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.1958, allocations: 0 / 0.734 GB, free: 9.305 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002902/0.1961, allocations: 43.83 kB / 0.7341 GB, free: 9.262 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.1961, allocations: 0 / 0.7341 GB, free: 9.262 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00019/0.1963, allocations: 31.88 kB / 0.7341 GB, free: 9.23 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.915e-05/0.1963, allocations: 7.984 kB / 0.7341 GB, free: 9.223 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 (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 prepare postOptimizeDAE: time 0.0001308/0.1965, allocations: 137.8 kB / 0.7342 GB, free: 9.078 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.676e-05/0.1965, allocations: 19.86 kB / 0.7343 GB, free: 9.059 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.119e-05/0.1966, allocations: 29.83 kB / 0.7343 GB, free: 9.031 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.1966, allocations: 7.938 kB / 0.7343 GB, free: 9.023 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.257e-06/0.1966, allocations: 0 / 0.7343 GB, free: 9.023 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.1966, allocations: 3.984 kB / 0.7343 GB, free: 9.02 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003075/0.1969, allocations: 277.4 kB / 0.7346 GB, free: 8.699 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1969, allocations: 4 kB / 0.7346 GB, free: 8.695 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002511/0.1971, allocations: 39.91 kB / 0.7346 GB, free: 8.656 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1971, allocations: 0 / 0.7346 GB, free: 8.656 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.151e-05/0.1972, allocations: 7.984 kB / 0.7346 GB, free: 8.648 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.029e-06/0.1972, allocations: 7.938 kB / 0.7346 GB, free: 8.641 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1972, allocations: 0 / 0.7346 GB, free: 8.641 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006216/0.1978, allocations: 327.3 kB / 0.7349 GB, free: 8.305 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001601/0.198, allocations: 112.9 kB / 0.735 GB, free: 8.176 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.164e-05/0.198, allocations: 0 / 0.735 GB, free: 8.176 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002172/0.1982, allocations: 19.92 kB / 0.7351 GB, free: 8.156 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.627e-05/0.1983, allocations: 11.97 kB / 0.7351 GB, free: 8.145 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/0.1983, allocations: 8 kB / 0.7351 GB, free: 8.137 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001577/0.1984, allocations: 182 kB / 0.7353 GB, free: 7.965 MB / 0.545 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1984, allocations: 0 / 0.7353 GB, free: 7.965 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002608/0.1987, allocations: 40 kB / 0.7353 GB, free: 7.926 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.0009775/0.1997, allocations: 0.8555 MB / 0.7361 GB, free: 7.047 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005484/0.2002, allocations: 187.7 kB / 0.7363 GB, free: 6.863 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.2002, allocations: 4 kB / 0.7363 GB, free: 6.859 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002675/0.2005, allocations: 91.86 kB / 0.7364 GB, free: 6.77 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003978/0.2009, allocations: 50.97 kB / 0.7365 GB, free: 6.719 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003404/0.2043, allocations: 2.42 MB / 0.7388 GB, free: 4.223 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003901/0.2047, allocations: 0.7513 MB / 0.7395 GB, free: 3.445 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001982/0.2049, allocations: 57.39 kB / 0.7396 GB, free: 3.391 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001271/0.205, allocations: 59.41 kB / 0.7397 GB, free: 3.332 MB / 0.545 GB Notification: Performance of SimCode: time 3.4e-07/0.205, allocations: 0 / 0.7397 GB, free: 3.332 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02669/0.2317, allocations: 4.827 MB / 0.7444 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.359/8.591, allocations: 9.719 kB / 0.7444 GB, free: 14.69 MB / 0.5606 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.fmu > IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.299784727976657] Failed to read output from testmodel.py, exit status != 0: 8.715426807990298 8.737158427 8.54521154 Calling exit ...