Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.001297/0.001297, 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.001459/0.001459, allocations: 214.8 kB / 23.78 MB, free: 4.555 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.378/1.378, allocations: 230.6 MB / 257.6 MB, free: 7.805 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.9114/0.9114, allocations: 150 MB / 463.9 MB, free: 10.22 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.EN12975SolarGain,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",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.002026/0.002026, allocations: 62.89 kB / 0.642 GB, free: 9.922 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1759/0.1779, allocations: 89.17 MB / 0.729 GB, free: 0.8242 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003971/0.1819, allocations: 1.991 MB / 0.731 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00607/0.1879, allocations: 3.873 MB / 0.7348 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002135/0.1881, allocations: 7.938 kB / 0.7348 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001024/0.1892, allocations: 191 kB / 0.735 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002277/0.1894, allocations: 71.41 kB / 0.735 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009713/0.1904, allocations: 307.3 kB / 0.7353 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0008569/0.1912, allocations: 394.8 kB / 0.7357 GB, free: 9.977 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001508/0.1914, allocations: 36.56 kB / 0.7357 GB, free: 9.938 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002836/0.1916, allocations: 135.4 kB / 0.7359 GB, free: 9.805 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002547/0.1919, allocations: 123.4 kB / 0.736 GB, free: 9.684 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.566e-05/0.192, allocations: 16 kB / 0.736 GB, free: 9.668 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007378/0.1927, allocations: 331.5 kB / 0.7363 GB, free: 9.344 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001574/0.1929, allocations: 95.72 kB / 0.7364 GB, free: 9.25 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001941/0.1931, allocations: 123.3 kB / 0.7365 GB, free: 9.129 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0009716/0.194, allocations: 0.5331 MB / 0.737 GB, free: 8.594 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.194, allocations: 0 / 0.737 GB, free: 8.594 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.523e-06/0.194, allocations: 4 kB / 0.737 GB, free: 8.59 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.859e-05/0.1941, allocations: 0 / 0.737 GB, free: 8.59 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.00163/0.1957, allocations: 0.7002 MB / 0.7377 GB, free: 7.852 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.1957, allocations: 12.03 kB / 0.7377 GB, free: 7.84 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.048e-05/0.1957, allocations: 4.188 kB / 0.7377 GB, free: 7.836 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.336e-05/0.1958, allocations: 42.73 kB / 0.7378 GB, free: 7.785 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001162/0.197, allocations: 160.5 kB / 0.7379 GB, free: 7.629 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007842/0.1977, allocations: 292.5 kB / 0.7382 GB, free: 7.316 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.1978, allocations: 8 kB / 0.7382 GB, free: 7.309 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.586e-05/0.1978, allocations: 8 kB / 0.7382 GB, free: 7.301 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005702/0.1984, allocations: 213.4 kB / 0.7384 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.1984, allocations: 0 / 0.7384 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.194e-05/0.1984, allocations: 0 / 0.7384 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.1984, allocations: 8 kB / 0.7384 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007441/0.1992, allocations: 263.8 kB / 0.7387 GB, free: 6.82 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001237/0.2004, allocations: 0.5462 MB / 0.7392 GB, free: 6.23 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004621/0.2009, allocations: 182.5 kB / 0.7394 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003773/0.2012, allocations: 128.8 kB / 0.7395 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.52e-05/0.2013, allocations: 23.98 kB / 0.7395 GB, free: 5.891 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/0.2013, allocations: 30.56 kB / 0.7396 GB, free: 5.852 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=11): time 1.462e-06/0.2013, allocations: 4 kB / 0.7396 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.001322/0.2027, allocations: 473.4 kB / 0.74 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.283e-05/0.2027, allocations: 59.34 kB / 0.7401 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004857/0.2032, allocations: 421.9 kB / 0.7405 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.005e-05/0.2032, allocations: 25.7 kB / 0.7405 GB, free: 4.859 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001502/0.2034, allocations: 176 kB / 0.7407 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.827e-05/0.2034, allocations: 39.62 kB / 0.7407 GB, free: 4.645 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.2035, allocations: 45.69 kB / 0.7408 GB, free: 4.594 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001656/0.2037, allocations: 346.8 kB / 0.7411 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004602/0.2042, allocations: 217.6 kB / 0.7413 GB, free: 4.027 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004667/0.2046, allocations: 221.6 kB / 0.7415 GB, free: 3.805 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008366/0.2055, allocations: 380.1 kB / 0.7419 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.2055, allocations: 0 / 0.7419 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001061/0.2065, allocations: 0.5333 MB / 0.7424 GB, free: 2.875 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.66e-05/0.2066, allocations: 41.69 kB / 0.7424 GB, free: 2.828 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.2066, allocations: 3.938 kB / 0.7424 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.2066, allocations: 0 / 0.7424 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000388/0.207, allocations: 55.94 kB / 0.7425 GB, free: 2.77 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.207, allocations: 0 / 0.7425 GB, free: 2.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002998/0.2073, allocations: 39.8 kB / 0.7425 GB, free: 2.73 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.546e-05/0.2073, allocations: 8 kB / 0.7425 GB, free: 2.723 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 (12): * Single equations (assignments): 11 * 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.0001825/0.2075, allocations: 159.7 kB / 0.7427 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.003e-05/0.2076, allocations: 35.7 kB / 0.7427 GB, free: 2.523 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001015/0.2086, allocations: 375.9 kB / 0.7431 GB, free: 2.148 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.79e-06/0.2086, allocations: 4 kB / 0.7431 GB, free: 2.145 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.2086, allocations: 4 kB / 0.7431 GB, free: 2.141 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.2086, allocations: 0 / 0.7431 GB, free: 2.141 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004125/0.209, allocations: 296.5 kB / 0.7434 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.209, allocations: 0 / 0.7434 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000339/0.2094, allocations: 51.88 kB / 0.7434 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.2094, allocations: 0 / 0.7434 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.564e-05/0.2094, allocations: 11.94 kB / 0.7434 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.2094, allocations: 0 / 0.7434 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.2094, allocations: 0 / 0.7434 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009176/0.2103, allocations: 435 kB / 0.7438 GB, free: 1.305 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001358/0.2105, allocations: 55.67 kB / 0.7439 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.296e-05/0.2105, allocations: 15.94 kB / 0.7439 GB, free: 1.234 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003007/0.2108, allocations: 27.95 kB / 0.7439 GB, free: 1.207 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.455e-05/0.2109, allocations: 15.97 kB / 0.744 GB, free: 1.191 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.151e-05/0.2109, allocations: 7.984 kB / 0.744 GB, free: 1.184 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003423/0.2113, allocations: 295.1 kB / 0.7442 GB, free: 0.8984 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2113, allocations: 0 / 0.7442 GB, free: 0.8984 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005014/0.2118, allocations: 111.9 kB / 0.7444 GB, free: 0.7891 MB / 0.5606 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 (11): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001631/0.2134, allocations: 1.051 MB / 0.7454 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001071/0.2145, allocations: 480.7 kB / 0.7458 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2145, allocations: 0 / 0.7458 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004084/0.2149, allocations: 148.9 kB / 0.746 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005367/0.2154, allocations: 62.41 kB / 0.746 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006756/0.2222, allocations: 4.438 MB / 0.7504 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002043/0.2224, allocations: 183.2 kB / 0.7505 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002666/0.2226, allocations: 57.91 kB / 0.7506 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002009/0.2228, allocations: 107.4 kB / 0.7507 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of SimCode: time 1.182e-06/0.2228, allocations: 0 / 0.7507 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03464/0.2575, allocations: 9.096 MB / 0.7596 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.76/12.02, allocations: 9.734 kB / 0.7596 GB, free: 1.27 MB / 0.5762 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.fmu > IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.911191237042658] Failed to read output from testmodel.py, exit status != 0: 12.451661361032166 12.463828953 12.266759842 Calling exit ...