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.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.001199/0.001199, allocations: 108.3 kB / 18.7 MB, free: 3.301 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.001258/0.001258, allocations: 192.5 kB / 21.96 MB, free: 52 kB / 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.386/1.386, allocations: 225.6 MB / 250.7 MB, free: 13.35 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.8153/0.8153, allocations: 128.4 MB / 434.2 MB, free: 6.457 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.ASHRAEHeatLoss,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001851/0.001851, allocations: 63 kB / 0.6013 GB, free: 21.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1471, allocations: 83.27 MB / 0.6826 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.00319/0.1503, allocations: 1.871 MB / 0.6844 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004262/0.1546, allocations: 3.584 MB / 0.6879 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.684e-05/0.1546, allocations: 8 kB / 0.6879 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0007345/0.1554, allocations: 171.5 kB / 0.6881 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001818/0.1556, allocations: 71.47 kB / 0.6882 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 7.873e-05/0.1556, allocations: 31.95 kB / 0.6882 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0004547/0.1561, allocations: 259.1 kB / 0.6884 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 8.525e-05/0.1562, allocations: 13.55 kB / 0.6885 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001145/0.1563, allocations: 79.64 kB / 0.6885 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001432/0.1564, allocations: 75.62 kB / 0.6886 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.158e-05/0.1565, allocations: 8 kB / 0.6886 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 9.374e-05/0.1565, allocations: 35.95 kB / 0.6887 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.831e-05/0.1566, allocations: 47.83 kB / 0.6887 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 9.198e-05/0.1567, allocations: 87.42 kB / 0.6888 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002444/0.1569, allocations: 187 kB / 0.689 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.157, allocations: 0 / 0.689 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.253e-06/0.157, allocations: 0 / 0.689 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.157, allocations: 0 / 0.689 GB, free: 12.52 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008714/0.1578, allocations: 0.5332 MB / 0.6895 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.1579, allocations: 8.031 kB / 0.6895 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.386e-05/0.1579, allocations: 38.75 kB / 0.6895 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.712e-05/0.158, allocations: 28.78 kB / 0.6896 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000353/0.1583, allocations: 247.8 kB / 0.6898 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.764e-06/0.1583, allocations: 3.938 kB / 0.6898 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.174e-05/0.1583, allocations: 4 kB / 0.6898 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000335/0.1587, allocations: 137.6 kB / 0.6899 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.647e-06/0.1587, allocations: 0 / 0.6899 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.1587, allocations: 3.984 kB / 0.6899 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.588e-05/0.1587, allocations: 11.98 kB / 0.6899 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004463/0.1592, allocations: 143.8 kB / 0.6901 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007067/0.1599, allocations: 436.6 kB / 0.6905 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003919/0.1603, allocations: 154.5 kB / 0.6906 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00024/0.1605, allocations: 96.78 kB / 0.6907 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.1605, allocations: 7.984 kB / 0.6907 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/0.1606, allocations: 34.75 kB / 0.6908 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=13): time 1.242e-06/0.1606, allocations: 0 / 0.6908 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13): time 0.0007821/0.1613, allocations: 287.2 kB / 0.691 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.268e-05/0.1614, allocations: 63.33 kB / 0.6911 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002304/0.1616, allocations: 234.6 kB / 0.6913 GB, free: 9.891 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.229e-05/0.1616, allocations: 25.7 kB / 0.6914 GB, free: 9.859 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.977e-05/0.1617, allocations: 136.1 kB / 0.6915 GB, free: 9.723 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.845e-05/0.1618, allocations: 43.64 kB / 0.6915 GB, free: 9.68 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.19e-05/0.1618, allocations: 33.66 kB / 0.6916 GB, free: 9.641 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.162, allocations: 334.8 kB / 0.6919 GB, free: 9.305 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000227/0.1622, allocations: 67.94 kB / 0.6919 GB, free: 9.238 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002026/0.1624, allocations: 75.94 kB / 0.692 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004144/0.1628, allocations: 160.1 kB / 0.6922 GB, free: 9.008 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1628, allocations: 0 / 0.6922 GB, free: 9.008 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00052/0.1633, allocations: 205.5 kB / 0.6924 GB, free: 8.801 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.1634, allocations: 6.5 kB / 0.6924 GB, free: 8.797 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.1634, allocations: 3.938 kB / 0.6924 GB, free: 8.793 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.1634, allocations: 7.984 kB / 0.6924 GB, free: 8.785 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000237/0.1636, allocations: 35.97 kB / 0.6924 GB, free: 8.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.1636, allocations: 7.875 kB / 0.6924 GB, free: 8.742 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001483/0.1638, allocations: 27.86 kB / 0.6925 GB, free: 8.715 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/0.1638, allocations: 4 kB / 0.6925 GB, free: 8.711 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 (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.0001286/0.1639, allocations: 134.7 kB / 0.6926 GB, free: 8.57 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.901e-05/0.164, allocations: 23.86 kB / 0.6926 GB, free: 8.547 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.167e-05/0.164, allocations: 25.83 kB / 0.6926 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.164, allocations: 4 kB / 0.6926 GB, free: 8.523 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.164, allocations: 3.938 kB / 0.6926 GB, free: 8.52 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.164, allocations: 7.984 kB / 0.6926 GB, free: 8.512 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002955/0.1643, allocations: 261.5 kB / 0.6929 GB, free: 8.207 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1643, allocations: 0 / 0.6929 GB, free: 8.207 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002079/0.1645, allocations: 35.95 kB / 0.6929 GB, free: 8.172 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1645, allocations: 4 kB / 0.6929 GB, free: 8.168 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.1646, allocations: 3.938 kB / 0.6929 GB, free: 8.164 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.1646, allocations: 4 kB / 0.6929 GB, free: 8.16 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.1646, allocations: 3.938 kB / 0.6929 GB, free: 8.156 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005626/0.1651, allocations: 315.3 kB / 0.6932 GB, free: 7.832 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/0.1652, allocations: 112.9 kB / 0.6934 GB, free: 7.703 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.244e-05/0.1653, allocations: 8 kB / 0.6934 GB, free: 7.695 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000171/0.1654, allocations: 11.92 kB / 0.6934 GB, free: 7.684 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.953e-05/0.1655, allocations: 19.92 kB / 0.6934 GB, free: 7.664 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.1655, allocations: 4 kB / 0.6934 GB, free: 7.66 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001512/0.1657, allocations: 178 kB / 0.6936 GB, free: 7.488 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1657, allocations: 0 / 0.6936 GB, free: 7.488 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000265/0.1659, allocations: 36 kB / 0.6936 GB, free: 7.453 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.00088/0.1668, allocations: 0.8559 MB / 0.6944 GB, free: 6.57 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004876/0.1673, allocations: 167.8 kB / 0.6946 GB, free: 6.406 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1673, allocations: 0 / 0.6946 GB, free: 6.406 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002254/0.1675, allocations: 79.94 kB / 0.6947 GB, free: 6.328 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004394/0.168, allocations: 56.33 kB / 0.6947 GB, free: 6.27 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003125/0.1711, allocations: 2.337 MB / 0.697 GB, free: 3.855 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000345/0.1714, allocations: 0.7396 MB / 0.6977 GB, free: 3.09 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001621/0.1716, allocations: 57.02 kB / 0.6978 GB, free: 3.035 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/0.1717, allocations: 59.41 kB / 0.6978 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of SimCode: time 6.01e-07/0.1717, allocations: 0 / 0.6978 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0282/0.1999, allocations: 4.535 MB / 0.7023 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.94/8.14, allocations: 12.52 kB / 0.7023 GB, free: 14.57 MB / 0.5294 GB " [Timeout remaining time 652] (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: 11.531843634089455] Failed to read output from testmodel.py, exit status != 0: 8.2232338830363 8.250808804 8.089363227 Calling exit ...