Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.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.001771/0.001771, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.00192/0.00192, allocations: 216.8 kB / 22.99 MB, free: 4.977 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 / 256.8 MB, free: 7.785 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.9446/0.9446, allocations: 149.9 MB / 463 MB, free: 10.32 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.Controls.BaseClasses.Examples.GCritCalc,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc",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.002036/0.002036, allocations: 66.45 kB / 0.6411 GB, free: 10.14 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1739/0.1759, allocations: 89.17 MB / 0.7282 GB, free: 1.039 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002838/0.1788, allocations: 1.514 MB / 0.7296 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0008683/0.1797, allocations: 466.9 kB / 0.7301 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.818e-05/0.1797, allocations: 0 / 0.7301 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.327e-05/0.1797, allocations: 3.938 kB / 0.7301 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.201e-05/0.1798, allocations: 15.84 kB / 0.7301 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002477/0.1801, allocations: 31.91 kB / 0.7301 GB, free: 15 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00013/0.1802, allocations: 59.77 kB / 0.7302 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.1803, allocations: 4 kB / 0.7302 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001323/0.1804, allocations: 39.8 kB / 0.7302 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.995e-05/0.1805, allocations: 27.91 kB / 0.7303 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.496e-05/0.1805, allocations: 4 kB / 0.7303 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 4.55e-05/0.1805, allocations: 8 kB / 0.7303 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.59e-05/0.1806, allocations: 7.922 kB / 0.7303 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.274e-05/0.1806, allocations: 19.92 kB / 0.7303 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001257/0.1807, allocations: 59.92 kB / 0.7304 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1807, allocations: 0 / 0.7304 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1807, allocations: 0 / 0.7304 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.531e-06/0.1807, allocations: 0 / 0.7304 GB, free: 14.78 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004658/0.1812, allocations: 294.1 kB / 0.7306 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.1812, allocations: 12.03 kB / 0.7306 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.053e-05/0.1813, allocations: 34.75 kB / 0.7307 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000194/0.1815, allocations: 28.86 kB / 0.7307 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002089/0.1817, allocations: 122.4 kB / 0.7308 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.1817, allocations: 8.125 kB / 0.7308 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.937e-06/0.1817, allocations: 0 / 0.7308 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000158/0.1819, allocations: 61.61 kB / 0.7309 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.1819, allocations: 3.938 kB / 0.7309 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.1819, allocations: 4 kB / 0.7309 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.1819, allocations: 0 / 0.7309 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000122/0.182, allocations: 35.97 kB / 0.7309 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003594/0.1824, allocations: 240 kB / 0.7312 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001215/0.1825, allocations: 42.48 kB / 0.7312 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.504e-05/0.1826, allocations: 24.94 kB / 0.7312 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.221e-05/0.1826, allocations: 0 / 0.7312 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.3e-05/0.1826, allocations: 30.56 kB / 0.7313 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.1826, allocations: 8 kB / 0.7313 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0003073/0.1829, allocations: 85.61 kB / 0.7313 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.26e-05/0.1829, allocations: 51.41 kB / 0.7314 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.1831, allocations: 132.9 kB / 0.7315 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.1831, allocations: 25.7 kB / 0.7315 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.605e-05/0.1831, allocations: 92.14 kB / 0.7316 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.635e-05/0.1832, allocations: 11.89 kB / 0.7316 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.548e-05/0.1832, allocations: 13.72 kB / 0.7317 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.1833, allocations: 322.8 kB / 0.732 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.97e-05/0.1834, allocations: 19.98 kB / 0.732 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.502e-05/0.1835, allocations: 15.98 kB / 0.732 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001199/0.1836, allocations: 36.83 kB / 0.732 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1836, allocations: 0 / 0.732 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001736/0.1838, allocations: 73.66 kB / 0.7321 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.1838, allocations: 4 kB / 0.7321 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.1838, allocations: 4 kB / 0.7321 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.1838, allocations: 3.938 kB / 0.7321 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.562e-05/0.1839, allocations: 11.98 kB / 0.7321 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.1839, allocations: 0 / 0.7321 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.6e-05/0.1839, allocations: 19.83 kB / 0.7321 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.184, allocations: 0 / 0.7321 GB, free: 12.75 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 (3): * Single equations (assignments): 3 * 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 8.252e-05/0.184, allocations: 113.8 kB / 0.7323 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.804e-05/0.1841, allocations: 7.984 kB / 0.7323 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.941e-05/0.1841, allocations: 8 kB / 0.7323 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.1841, allocations: 4 kB / 0.7323 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.1841, allocations: 0 / 0.7323 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.1841, allocations: 3.938 kB / 0.7323 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001761/0.1843, allocations: 140.7 kB / 0.7324 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1843, allocations: 0 / 0.7324 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.642e-05/0.1844, allocations: 11.98 kB / 0.7324 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1844, allocations: 0 / 0.7324 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.1844, allocations: 0 / 0.7324 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1844, allocations: 0 / 0.7324 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1844, allocations: 0 / 0.7324 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002347/0.1846, allocations: 183.3 kB / 0.7326 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.532e-05/0.1846, allocations: 11.95 kB / 0.7326 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.406e-05/0.1846, allocations: 384 / 0.7326 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.767e-05/0.1847, allocations: 7.984 kB / 0.7326 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.702e-05/0.1847, allocations: 0 / 0.7326 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.1847, allocations: 7.922 kB / 0.7326 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.853e-05/0.1848, allocations: 95.27 kB / 0.7327 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1848, allocations: 0 / 0.7327 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002119/0.185, allocations: 12 kB / 0.7327 GB, free: 12.08 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 (3): * Single equations (assignments): 3 * 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.0005258/0.1856, allocations: 0.7046 MB / 0.7334 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001686/0.1857, allocations: 39.97 kB / 0.7335 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.1857, allocations: 0 / 0.7335 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.782e-05/0.1858, allocations: 19.98 kB / 0.7335 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002122/0.186, allocations: 5.812 kB / 0.7335 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001517/0.1875, allocations: 1.385 MB / 0.7348 GB, free: 9.82 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.587e-05/0.1876, allocations: 67.33 kB / 0.7349 GB, free: 9.734 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.216e-05/0.1876, allocations: 4 kB / 0.7349 GB, free: 9.73 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.718e-05/0.1877, allocations: 15.44 kB / 0.7349 GB, free: 9.719 MB / 0.5606 GB Notification: Performance of SimCode: time 3.11e-07/0.1877, allocations: 4 kB / 0.7349 GB, free: 9.715 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02718/0.2148, allocations: 2.059 MB / 0.7369 GB, free: 7.816 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.61/10.82, allocations: 16.34 kB / 0.7369 GB, free: 7.809 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc.fmu > IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.502196014393121] Failed to read output from testmodel.py, exit status != 0: 10.921485422179103 10.939252013 10.755357427 Calling exit ...