Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.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.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_NumberOfRequests",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_NumberOfRequests",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.0008412/0.0008413, allocations: 97.36 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007999/0.0008002, allocations: 176.1 kB / 16.57 MB, free: 6.398 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.143/1.143, allocations: 223.2 MB / 240.5 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.596/0.596, allocations: 113.7 MB / 405.3 MB, free: 4.602 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002749/0.000275, allocations: 8.75 kB / 493 MB, free: 8.582 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1307, allocations: 77.12 MB / 0.5567 GB, free: 11.67 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.NumberOfRequests): time 0.001371/0.1322, allocations: 1.165 MB / 0.5579 GB, free: 10.5 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006225/0.1328, allocations: 423.5 kB / 0.5583 GB, free: 10.08 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.8e-05/0.1329, allocations: 0 / 0.5583 GB, free: 10.08 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 7.702e-05/0.133, allocations: 3.938 kB / 0.5583 GB, free: 10.08 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.127e-05/0.133, allocations: 23.89 kB / 0.5583 GB, free: 10.05 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001815/0.1332, allocations: 23.97 kB / 0.5583 GB, free: 10.03 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 9.379e-05/0.1333, allocations: 55.94 kB / 0.5584 GB, free: 9.977 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.1334, allocations: 16.09 kB / 0.5584 GB, free: 9.961 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001107/0.1335, allocations: 39.84 kB / 0.5584 GB, free: 9.922 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.825e-05/0.1336, allocations: 35.89 kB / 0.5584 GB, free: 9.887 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.995e-05/0.1336, allocations: 4 kB / 0.5585 GB, free: 9.883 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.719e-05/0.1337, allocations: 4 kB / 0.5585 GB, free: 9.879 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.631e-05/0.1337, allocations: 23.84 kB / 0.5585 GB, free: 9.855 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.331e-05/0.1338, allocations: 37.7 kB / 0.5585 GB, free: 9.812 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 8.32e-05/0.1338, allocations: 44.19 kB / 0.5586 GB, free: 9.77 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.255e-06/0.1339, allocations: 0 / 0.5586 GB, free: 9.77 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1339, allocations: 0 / 0.5586 GB, free: 9.77 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.1339, allocations: 0 / 0.5586 GB, free: 9.77 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006126/0.1345, allocations: 442.5 kB / 0.559 GB, free: 9.277 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.1345, allocations: 8.031 kB / 0.559 GB, free: 9.27 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.03e-05/0.1346, allocations: 46.5 kB / 0.559 GB, free: 9.215 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.051e-05/0.1346, allocations: 7.906 kB / 0.559 GB, free: 9.207 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001733/0.1348, allocations: 191 kB / 0.5592 GB, free: 8.98 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-06/0.1348, allocations: 0 / 0.5592 GB, free: 8.98 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.112e-05/0.1349, allocations: 12 kB / 0.5592 GB, free: 8.969 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002986/0.1352, allocations: 121.6 kB / 0.5593 GB, free: 8.844 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.202e-06/0.1352, allocations: 4 kB / 0.5594 GB, free: 8.84 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.775e-05/0.1352, allocations: 4 kB / 0.5594 GB, free: 8.836 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/0.1352, allocations: 4 kB / 0.5594 GB, free: 8.832 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002979/0.1355, allocations: 103.9 kB / 0.5595 GB, free: 8.73 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005045/0.136, allocations: 332.7 kB / 0.5598 GB, free: 8.355 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003129/0.1363, allocations: 122.5 kB / 0.5599 GB, free: 8.227 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.323e-05/0.1364, allocations: 0 / 0.5599 GB, free: 8.227 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003188/0.1367, allocations: 139.4 kB / 0.56 GB, free: 8.078 MB / 430.1 MB Notification: Performance of pre-optimization done (n=6): time 1.362e-06/0.1367, allocations: 3.938 kB / 0.56 GB, free: 8.074 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006861/0.1374, allocations: 299.2 kB / 0.5603 GB, free: 7.77 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.208e-05/0.1375, allocations: 85.11 kB / 0.5604 GB, free: 7.668 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.148e-05/0.1376, allocations: 131.8 kB / 0.5605 GB, free: 7.531 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.1376, allocations: 25.7 kB / 0.5605 GB, free: 7.5 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.25e-05/0.1376, allocations: 100 kB / 0.5606 GB, free: 7.398 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.231e-05/0.1377, allocations: 23.81 kB / 0.5607 GB, free: 7.375 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.758e-06/0.1377, allocations: 8 kB / 0.5607 GB, free: 7.367 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.675e-05/0.1378, allocations: 318.8 kB / 0.561 GB, free: 7.047 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001785/0.138, allocations: 67.95 kB / 0.561 GB, free: 6.98 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001708/0.1381, allocations: 79.89 kB / 0.5611 GB, free: 6.902 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000179/0.1383, allocations: 115.4 kB / 0.5612 GB, free: 6.777 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1383, allocations: 0 / 0.5612 GB, free: 6.777 MB / 430.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004769/0.1388, allocations: 280.9 kB / 0.5615 GB, free: 6.484 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.258e-05/0.1389, allocations: 60.81 kB / 0.5616 GB, free: 6.414 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.1389, allocations: 0 / 0.5616 GB, free: 6.414 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.1389, allocations: 0 / 0.5616 GB, free: 6.414 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.139, allocations: 27.92 kB / 0.5616 GB, free: 6.387 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.523e-06/0.1391, allocations: 4 kB / 0.5616 GB, free: 6.383 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001514/0.1392, allocations: 27.97 kB / 0.5616 GB, free: 6.355 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.708e-05/0.1392, allocations: 4 kB / 0.5616 GB, free: 6.352 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,numReq.y,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001183/0.1394, allocations: 151.5 kB / 0.5618 GB, free: 6.188 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.056e-05/0.1394, allocations: 15.86 kB / 0.5618 GB, free: 6.172 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.934e-05/0.1394, allocations: 12.38 kB / 0.5618 GB, free: 6.16 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.1394, allocations: 3.984 kB / 0.5618 GB, free: 6.156 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.1394, allocations: 0 / 0.5618 GB, free: 6.156 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.1395, allocations: 0 / 0.5618 GB, free: 6.156 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001269/0.1396, allocations: 189.6 kB / 0.562 GB, free: 5.922 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1396, allocations: 0 / 0.562 GB, free: 5.922 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.434e-05/0.1397, allocations: 15.98 kB / 0.562 GB, free: 5.906 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.1397, allocations: 3.953 kB / 0.562 GB, free: 5.902 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.845e-05/0.1397, allocations: 11.98 kB / 0.562 GB, free: 5.891 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1397, allocations: 0 / 0.562 GB, free: 5.891 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1397, allocations: 4.156 kB / 0.562 GB, free: 5.887 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004506/0.1402, allocations: 262.6 kB / 0.5623 GB, free: 5.605 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.798e-05/0.1402, allocations: 88.95 kB / 0.5623 GB, free: 5.5 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.783e-05/0.1403, allocations: 11.89 kB / 0.5624 GB, free: 5.488 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/0.1404, allocations: 24.28 kB / 0.5624 GB, free: 5.465 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/0.1405, allocations: 39.95 kB / 0.5624 GB, free: 5.426 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-05/0.1406, allocations: 8 kB / 0.5624 GB, free: 5.418 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.706e-05/0.1406, allocations: 103.3 kB / 0.5625 GB, free: 5.316 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1406, allocations: 0 / 0.5625 GB, free: 5.316 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001923/0.1408, allocations: 20 kB / 0.5625 GB, free: 5.297 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,numReq.y,pulse.T_start,pulse.count) * Number of discrete states: 2 (pulse.count,numReq.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006985/0.1415, allocations: 0.8021 MB / 0.5633 GB, free: 4.461 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004771/0.142, allocations: 278.7 kB / 0.5636 GB, free: 4.164 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.142, allocations: 0 / 0.5636 GB, free: 4.164 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002305/0.1423, allocations: 151.2 kB / 0.5637 GB, free: 4.004 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001711/0.1425, allocations: 19.94 kB / 0.5637 GB, free: 3.984 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00129/0.1438, allocations: 0.7802 MB / 0.5645 GB, free: 3.152 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000179/0.1439, allocations: 0.7004 MB / 0.5652 GB, free: 2.426 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.599e-05/0.144, allocations: 4.188 kB / 0.5652 GB, free: 2.422 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.669e-05/0.1441, allocations: 19.42 kB / 0.5652 GB, free: 2.402 MB / 430.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1441, allocations: 4 kB / 0.5652 GB, free: 2.398 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1221/0.2662, allocations: 2.489 MB / 0.5677 GB, free: 76 kB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002421/0.2665, allocations: 185.3 kB / 0.5678 GB, free: 15.83 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.484/1.75, allocations: 0 / 0.5678 GB, free: 15.83 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_Continuous_Examples_NumberOfRequests_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_Continuous_Examples_NumberOfRequests.fmu > IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) Environment - environmentSimulation: