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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001521/0.001521, allocations: 110.3 kB / 18.7 MB, free: 3.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005822/0.005822, allocations: 180.6 kB / 21.95 MB, free: 5.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 225.6 MB / 250.7 MB, free: 13.37 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8169/0.8169, allocations: 128.4 MB / 434.2 MB, free: 6.406 MB / 334.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00181/0.00181, allocations: 68.14 kB / 0.6013 GB, free: 21.83 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1465, allocations: 83.26 MB / 0.6826 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003716/0.1502, allocations: 2.196 MB / 0.6847 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00565/0.1559, allocations: 4.125 MB / 0.6888 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001506/0.156, allocations: 0 / 0.6888 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008492/0.1569, allocations: 195.3 kB / 0.689 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001849/0.1571, allocations: 79.34 kB / 0.689 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007616/0.1578, allocations: 287.2 kB / 0.6893 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0006927/0.1585, allocations: 434.7 kB / 0.6897 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.1586, allocations: 32.73 kB / 0.6898 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001953/0.1588, allocations: 139.5 kB / 0.6899 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000245/0.1591, allocations: 159.3 kB / 0.69 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.514e-05/0.1591, allocations: 20 kB / 0.6901 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005626/0.1597, allocations: 331.5 kB / 0.6904 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001304/0.1598, allocations: 119.6 kB / 0.6905 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001708/0.16, allocations: 163 kB / 0.6906 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0007167/0.1607, allocations: 0.572 MB / 0.6912 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.1607, allocations: 0 / 0.6912 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1607, allocations: 4 kB / 0.6912 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.785e-06/0.1607, allocations: 0 / 0.6912 GB, free: 10.21 MB / 0.5137 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.001505/0.1622, allocations: 0.8029 MB / 0.692 GB, free: 9.352 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.1623, allocations: 8.031 kB / 0.692 GB, free: 9.344 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.973e-05/0.1623, allocations: 50.67 kB / 0.6921 GB, free: 9.285 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009333/0.1633, allocations: 188.4 kB / 0.6922 GB, free: 9.102 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008439/0.1641, allocations: 382.2 kB / 0.6926 GB, free: 8.688 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.111e-05/0.1641, allocations: 16 kB / 0.6926 GB, free: 8.672 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.733e-05/0.1642, allocations: 4 kB / 0.6926 GB, free: 8.668 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007156/0.1649, allocations: 254.5 kB / 0.6929 GB, free: 8.414 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.1649, allocations: 0 / 0.6929 GB, free: 8.414 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.461e-05/0.1649, allocations: 8 kB / 0.6929 GB, free: 8.406 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.575e-06/0.1649, allocations: 3.938 kB / 0.6929 GB, free: 8.402 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009956/0.1659, allocations: 335.7 kB / 0.6932 GB, free: 8.074 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001502/0.1674, allocations: 0.6876 MB / 0.6939 GB, free: 7.336 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005765/0.168, allocations: 210.4 kB / 0.6941 GB, free: 7.121 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004937/0.1685, allocations: 172.7 kB / 0.6942 GB, free: 6.949 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 5.911e-05/0.1686, allocations: 23.97 kB / 0.6942 GB, free: 6.926 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/0.1686, allocations: 34.56 kB / 0.6943 GB, free: 6.883 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=13): time 1.463e-06/0.1686, allocations: 0 / 0.6943 GB, free: 6.883 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13): time 0.001705/0.1703, allocations: 0.5704 MB / 0.6948 GB, free: 6.309 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/0.1703, allocations: 67.28 kB / 0.6949 GB, free: 6.23 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004927/0.1708, allocations: 437.8 kB / 0.6953 GB, free: 5.789 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.446e-05/0.1709, allocations: 25.7 kB / 0.6953 GB, free: 5.758 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001539/0.171, allocations: 188.6 kB / 0.6955 GB, free: 5.57 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.544e-05/0.1711, allocations: 47.58 kB / 0.6956 GB, free: 5.523 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000115/0.1712, allocations: 53.67 kB / 0.6956 GB, free: 5.465 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.00017/0.1713, allocations: 350.8 kB / 0.696 GB, free: 5.113 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000623/0.172, allocations: 292 kB / 0.6962 GB, free: 4.828 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006044/0.1726, allocations: 300.2 kB / 0.6965 GB, free: 4.535 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001126/0.1737, allocations: 0.4992 MB / 0.697 GB, free: 4.027 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.614e-06/0.1737, allocations: 0 / 0.697 GB, free: 4.027 MB / 0.5137 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001437/0.1751, allocations: 0.7304 MB / 0.6977 GB, free: 3.285 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.114e-05/0.1752, allocations: 45.69 kB / 0.6978 GB, free: 3.234 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.1752, allocations: 0 / 0.6978 GB, free: 3.234 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/0.1752, allocations: 3.938 kB / 0.6978 GB, free: 3.23 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00045/0.1757, allocations: 63.92 kB / 0.6978 GB, free: 3.168 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/0.1757, allocations: 0 / 0.6978 GB, free: 3.168 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003518/0.176, allocations: 55.83 kB / 0.6979 GB, free: 3.113 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.695e-05/0.1761, allocations: 4 kB / 0.6979 GB, free: 3.109 MB / 0.5137 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.0001861/0.1763, allocations: 166.6 kB / 0.698 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.019e-05/0.1764, allocations: 39.72 kB / 0.6981 GB, free: 2.898 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001205/0.1776, allocations: 436.8 kB / 0.6985 GB, free: 2.465 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.78e-06/0.1776, allocations: 3.938 kB / 0.6985 GB, free: 2.461 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.1776, allocations: 0 / 0.6985 GB, free: 2.461 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.1776, allocations: 7.938 kB / 0.6985 GB, free: 2.453 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004264/0.178, allocations: 369.3 kB / 0.6989 GB, free: 2.043 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.178, allocations: 0 / 0.6989 GB, free: 2.043 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003905/0.1784, allocations: 67.91 kB / 0.6989 GB, free: 1.977 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.1784, allocations: 4 kB / 0.6989 GB, free: 1.973 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.032e-05/0.1784, allocations: 4 kB / 0.6989 GB, free: 1.969 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.1785, allocations: 3.938 kB / 0.6989 GB, free: 1.965 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.1785, allocations: 0 / 0.6989 GB, free: 1.965 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001145/0.1796, allocations: 0.4912 MB / 0.6994 GB, free: 1.457 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001603/0.1798, allocations: 152.7 kB / 0.6996 GB, free: 1.289 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.433e-05/0.1798, allocations: 0 / 0.6996 GB, free: 1.289 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000353/0.1802, allocations: 43.88 kB / 0.6996 GB, free: 1.246 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.926e-05/0.1802, allocations: 15.98 kB / 0.6996 GB, free: 1.23 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.945e-05/0.1802, allocations: 7.984 kB / 0.6996 GB, free: 1.223 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003189/0.1806, allocations: 303.1 kB / 0.6999 GB, free: 0.9336 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.1806, allocations: 0 / 0.6999 GB, free: 0.9336 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004761/0.181, allocations: 127.8 kB / 0.7 GB, free: 0.8086 MB / 0.5137 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.001718/0.1828, allocations: 1.125 MB / 0.7011 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001352/0.1841, allocations: 0.6201 MB / 0.7017 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1841, allocations: 0 / 0.7017 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0005327/0.1846, allocations: 179.8 kB / 0.7019 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005175/0.1852, allocations: 68.34 kB / 0.702 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007587/0.1927, allocations: 5.218 MB / 0.7071 GB, free: 9.473 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004116/0.1932, allocations: 0.7944 MB / 0.7079 GB, free: 8.652 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00025/0.1934, allocations: 57.92 kB / 0.7079 GB, free: 8.598 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002043/0.1936, allocations: 119.4 kB / 0.708 GB, free: 8.48 MB / 0.5294 GB Notification: Performance of SimCode: time 5.81e-07/0.1936, allocations: 0 / 0.708 GB, free: 8.48 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03333/0.2269, allocations: 9.142 MB / 0.717 GB, free: 15.47 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.444/8.671, allocations: 5.656 kB / 0.717 GB, free: 15.47 MB / 0.545 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.050699373008683] Failed to read output from testmodel.py, exit status != 0: 8.747594535117969 8.773509677 8.608368361 Calling exit ...