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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001832/0.001832, allocations: 103.1 kB / 16.4 MB, free: 6.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002048/0.002048, allocations: 192 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.522/1.522, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8386/0.8386, allocations: 125.4 MB / 416.6 MB, free: 13.52 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00188/0.00188, allocations: 68.2 kB / 0.5716 GB, free: 27.54 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1332, allocations: 78.56 MB / 0.6484 GB, free: 5.496 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.002964/0.1362, allocations: 1.849 MB / 0.6502 GB, free: 3.637 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004215/0.1405, allocations: 3.541 MB / 0.6536 GB, free: 72 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.58e-05/0.1406, allocations: 0 / 0.6536 GB, free: 72 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007235/0.1413, allocations: 175.6 kB / 0.6538 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001826/0.1415, allocations: 71.53 kB / 0.6538 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 6.965e-05/0.1416, allocations: 23.91 kB / 0.6539 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000436/0.142, allocations: 263.1 kB / 0.6541 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.272e-05/0.1422, allocations: 29.48 kB / 0.6542 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001156/0.1423, allocations: 71.75 kB / 0.6542 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000146/0.1424, allocations: 71.69 kB / 0.6543 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.551e-05/0.1425, allocations: 11.94 kB / 0.6543 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.869e-05/0.1426, allocations: 23.98 kB / 0.6543 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.366e-05/0.1426, allocations: 55.81 kB / 0.6544 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.272e-05/0.1427, allocations: 87.42 kB / 0.6545 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002445/0.143, allocations: 183.1 kB / 0.6546 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.143, allocations: 4 kB / 0.6546 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.122e-06/0.143, allocations: 0 / 0.6546 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.73e-06/0.143, allocations: 0 / 0.6546 GB, free: 15.02 MB / 0.4981 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.000847/0.1439, allocations: 0.5293 MB / 0.6552 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.1439, allocations: 8.031 kB / 0.6552 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.654e-05/0.144, allocations: 38.75 kB / 0.6552 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.609e-05/0.144, allocations: 20.8 kB / 0.6552 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000334/0.1444, allocations: 259.7 kB / 0.6555 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.1444, allocations: 7.938 kB / 0.6555 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.653e-05/0.1444, allocations: 4 kB / 0.6555 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003564/0.1448, allocations: 137.6 kB / 0.6556 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.1448, allocations: 0 / 0.6556 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.1448, allocations: 0 / 0.6556 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.956e-05/0.1448, allocations: 15.98 kB / 0.6556 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004587/0.1453, allocations: 127.9 kB / 0.6557 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000721/0.146, allocations: 452.5 kB / 0.6562 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004276/0.1465, allocations: 158.5 kB / 0.6563 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000269/0.1468, allocations: 104.8 kB / 0.6564 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/0.1468, allocations: 4 kB / 0.6564 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.1468, allocations: 38.56 kB / 0.6565 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=13): time 1.453e-06/0.1468, allocations: 0 / 0.6565 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13): time 0.000872/0.1477, allocations: 283.1 kB / 0.6567 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.527e-05/0.1478, allocations: 63.28 kB / 0.6568 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002374/0.148, allocations: 238.6 kB / 0.657 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.237e-05/0.148, allocations: 25.7 kB / 0.6571 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.816e-05/0.1481, allocations: 132.1 kB / 0.6572 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.003e-05/0.1482, allocations: 47.59 kB / 0.6572 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.674e-05/0.1483, allocations: 29.7 kB / 0.6573 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.1484, allocations: 334.8 kB / 0.6576 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002359/0.1487, allocations: 75.92 kB / 0.6576 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002273/0.1489, allocations: 71.94 kB / 0.6577 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004664/0.1494, allocations: 159.9 kB / 0.6579 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1494, allocations: 3.938 kB / 0.6579 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005664/0.15, allocations: 209.4 kB / 0.6581 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.15, allocations: 4 kB / 0.6581 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.15, allocations: 4 kB / 0.6581 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.15, allocations: 3.938 kB / 0.6581 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002406/0.1503, allocations: 31.97 kB / 0.6581 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.1503, allocations: 7.938 kB / 0.6581 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001617/0.1505, allocations: 23.91 kB / 0.6581 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.634e-05/0.1505, allocations: 4 kB / 0.6581 GB, free: 11.2 MB / 0.4981 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.0001266/0.1506, allocations: 141.8 kB / 0.6583 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.727e-05/0.1507, allocations: 19.86 kB / 0.6583 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.887e-05/0.1507, allocations: 33.83 kB / 0.6583 GB, free: 11 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.1507, allocations: 3.984 kB / 0.6583 GB, free: 11 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.1507, allocations: 3.938 kB / 0.6583 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.1508, allocations: 4 kB / 0.6583 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002997/0.1511, allocations: 261.5 kB / 0.6586 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1511, allocations: 0 / 0.6586 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002158/0.1513, allocations: 31.97 kB / 0.6586 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1513, allocations: 0 / 0.6586 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.809e-05/0.1513, allocations: 15.98 kB / 0.6586 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1513, allocations: 0 / 0.6586 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.1513, allocations: 3.938 kB / 0.6586 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006032/0.1519, allocations: 311.2 kB / 0.6589 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001052/0.1521, allocations: 116.9 kB / 0.659 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.312e-05/0.1521, allocations: 4 kB / 0.6591 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000182/0.1523, allocations: 11.98 kB / 0.6591 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.735e-05/0.1523, allocations: 15.92 kB / 0.6591 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.1524, allocations: 4 kB / 0.6591 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001531/0.1525, allocations: 174 kB / 0.6592 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1525, allocations: 0 / 0.6592 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002787/0.1528, allocations: 40 kB / 0.6593 GB, free: 9.938 MB / 0.4981 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.0009707/0.1538, allocations: 0.8637 MB / 0.6601 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005357/0.1543, allocations: 155.9 kB / 0.6603 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1544, allocations: 3.938 kB / 0.6603 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00026/0.1546, allocations: 95.92 kB / 0.6604 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004435/0.1551, allocations: 49.27 kB / 0.6604 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003295/0.1584, allocations: 2.338 MB / 0.6627 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003631/0.1588, allocations: 0.7395 MB / 0.6634 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001682/0.1589, allocations: 53.02 kB / 0.6635 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.159, allocations: 63.36 kB / 0.6635 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of SimCode: time 4.21e-07/0.1591, allocations: 0 / 0.6635 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02442/0.1835, allocations: 4.544 MB / 0.668 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.118/8.302, allocations: 11.92 kB / 0.668 GB, free: 1.062 MB / 0.4981 GB (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 --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)