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.0007477/0.0007477, allocations: 93.19 kB / 16.02 MB, free: 84 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.0007944/0.0007944, allocations: 172.9 kB / 16.91 MB, free: 6.684 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.237/1.237, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6489/0.6489, allocations: 115.5 MB / 407.6 MB, free: 2.75 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002729/0.0002729, allocations: 8.594 kB / 495.9 MB, free: 6.266 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1203, allocations: 77.53 MB / 0.56 GB, free: 8.941 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.NumberOfRequests): time 0.001378/0.1217, allocations: 1.185 MB / 0.5612 GB, free: 7.746 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006728/0.1224, allocations: 455 kB / 0.5616 GB, free: 7.297 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.664e-05/0.1225, allocations: 0 / 0.5616 GB, free: 7.297 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 6.747e-05/0.1226, allocations: 8 kB / 0.5616 GB, free: 7.289 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.364e-05/0.1226, allocations: 19.84 kB / 0.5617 GB, free: 7.27 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001688/0.1228, allocations: 23.97 kB / 0.5617 GB, free: 7.246 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001055/0.1229, allocations: 87.77 kB / 0.5618 GB, free: 7.16 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.437e-05/0.123, allocations: 12.19 kB / 0.5618 GB, free: 7.148 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.1231, allocations: 43.83 kB / 0.5618 GB, free: 7.105 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.105e-05/0.1232, allocations: 35.89 kB / 0.5618 GB, free: 7.07 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.443e-05/0.1233, allocations: 4 kB / 0.5619 GB, free: 7.066 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.678e-05/0.1233, allocations: 4 kB / 0.5619 GB, free: 7.062 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.759e-05/0.1233, allocations: 19.86 kB / 0.5619 GB, free: 7.043 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.332e-05/0.1234, allocations: 61.55 kB / 0.5619 GB, free: 6.977 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000114/0.1235, allocations: 72.03 kB / 0.562 GB, free: 6.906 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.1235, allocations: 0 / 0.562 GB, free: 6.906 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.935e-06/0.1236, allocations: 4 kB / 0.562 GB, free: 6.902 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.1236, allocations: 0 / 0.562 GB, free: 6.902 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.0006264/0.1242, allocations: 446.6 kB / 0.5624 GB, free: 6.406 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.1242, allocations: 8.031 kB / 0.5624 GB, free: 6.398 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.535e-05/0.1243, allocations: 34.75 kB / 0.5625 GB, free: 6.355 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.871e-05/0.1243, allocations: 8.844 kB / 0.5625 GB, free: 6.348 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001749/0.1245, allocations: 196.2 kB / 0.5627 GB, free: 6.117 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.1245, allocations: 4.359 kB / 0.5627 GB, free: 6.113 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.087e-05/0.1246, allocations: 8.375 kB / 0.5627 GB, free: 6.105 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003177/0.1249, allocations: 133.5 kB / 0.5628 GB, free: 5.969 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.1249, allocations: 3.938 kB / 0.5628 GB, free: 5.965 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.62e-05/0.1249, allocations: 4 kB / 0.5628 GB, free: 5.961 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.1249, allocations: 0 / 0.5628 GB, free: 5.961 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000316/0.1253, allocations: 103.9 kB / 0.5629 GB, free: 5.859 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005305/0.1258, allocations: 344.7 kB / 0.5632 GB, free: 5.473 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003163/0.1261, allocations: 110.5 kB / 0.5633 GB, free: 5.355 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001851/0.1263, allocations: 84.94 kB / 0.5634 GB, free: 5.27 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.284e-05/0.1263, allocations: 3.938 kB / 0.5634 GB, free: 5.266 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003109/0.1267, allocations: 135.3 kB / 0.5636 GB, free: 5.121 MB / 430.1 MB Notification: Performance of pre-optimization done (n=6): time 1.633e-06/0.1267, allocations: 3.938 kB / 0.5636 GB, free: 5.117 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007122/0.1274, allocations: 299.2 kB / 0.5638 GB, free: 4.812 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.537e-05/0.1275, allocations: 85.11 kB / 0.5639 GB, free: 4.711 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.903e-05/0.1276, allocations: 125.8 kB / 0.5641 GB, free: 4.578 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.607e-05/0.1276, allocations: 33.7 kB / 0.5641 GB, free: 4.539 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.282e-05/0.1276, allocations: 92.12 kB / 0.5642 GB, free: 4.445 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.36e-05/0.1277, allocations: 19.75 kB / 0.5642 GB, free: 4.426 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.167e-05/0.1277, allocations: 21.72 kB / 0.5642 GB, free: 4.398 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.705e-05/0.1278, allocations: 326.8 kB / 0.5645 GB, free: 4.07 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001964/0.128, allocations: 67.95 kB / 0.5646 GB, free: 4.004 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001855/0.1282, allocations: 84 kB / 0.5647 GB, free: 3.922 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003534/0.1286, allocations: 189.9 kB / 0.5648 GB, free: 3.715 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1286, allocations: 0 / 0.5648 GB, free: 3.715 MB / 430.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000505/0.1291, allocations: 280.8 kB / 0.5651 GB, free: 3.422 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.698e-05/0.1292, allocations: 67.39 kB / 0.5652 GB, free: 3.344 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.1292, allocations: 160 / 0.5652 GB, free: 3.344 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.689e-06/0.1292, allocations: 3.938 kB / 0.5652 GB, free: 3.34 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.1293, allocations: 19.98 kB / 0.5652 GB, free: 3.32 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.1293, allocations: 3.984 kB / 0.5652 GB, free: 3.316 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001617/0.1295, allocations: 31.88 kB / 0.5652 GB, free: 3.285 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.721e-05/0.1295, allocations: 7.938 kB / 0.5652 GB, free: 3.277 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 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,numReq.y,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001094/0.1296, allocations: 159.5 kB / 0.5654 GB, free: 3.105 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.96e-05/0.1297, allocations: 7.938 kB / 0.5654 GB, free: 3.098 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.678e-05/0.1297, allocations: 12.38 kB / 0.5654 GB, free: 3.086 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.1297, allocations: 96 / 0.5654 GB, free: 3.086 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.1297, allocations: 3.938 kB / 0.5654 GB, free: 3.082 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.1297, allocations: 0 / 0.5654 GB, free: 3.082 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001309/0.1298, allocations: 197.5 kB / 0.5656 GB, free: 2.84 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1299, allocations: 0 / 0.5656 GB, free: 2.84 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.196e-05/0.1299, allocations: 19.98 kB / 0.5656 GB, free: 2.82 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.13, allocations: 4 kB / 0.5656 GB, free: 2.816 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.13, allocations: 4 kB / 0.5656 GB, free: 2.812 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.13, allocations: 3.984 kB / 0.5656 GB, free: 2.809 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.13, allocations: 0 / 0.5656 GB, free: 2.809 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004814/0.1305, allocations: 258.7 kB / 0.5659 GB, free: 2.531 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.795e-05/0.1305, allocations: 89.27 kB / 0.566 GB, free: 2.426 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.468e-05/0.1306, allocations: 4 kB / 0.566 GB, free: 2.422 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001502/0.1307, allocations: 31.97 kB / 0.566 GB, free: 2.391 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/0.1308, allocations: 35.97 kB / 0.566 GB, free: 2.355 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.37e-05/0.1309, allocations: 11.92 kB / 0.5661 GB, free: 2.344 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.68e-05/0.1309, allocations: 104.3 kB / 0.5662 GB, free: 2.242 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1309, allocations: 0 / 0.5662 GB, free: 2.242 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002047/0.1311, allocations: 20 kB / 0.5662 GB, free: 2.223 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 (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.0007362/0.1319, allocations: 0.7937 MB / 0.5669 GB, free: 1.395 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004876/0.1324, allocations: 282.6 kB / 0.5672 GB, free: 1.094 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1324, allocations: 0 / 0.5672 GB, free: 1.094 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002563/0.1326, allocations: 155.3 kB / 0.5674 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002031/0.1329, allocations: 21.55 kB / 0.5674 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002172/0.135, allocations: 1.803 MB / 0.5691 GB, free: 15.01 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002254/0.1353, allocations: 0.6887 MB / 0.5698 GB, free: 14.3 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.609e-05/0.1353, allocations: 11.97 kB / 0.5698 GB, free: 14.29 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.954e-05/0.1354, allocations: 23.44 kB / 0.5699 GB, free: 14.26 MB / 446.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1354, allocations: 3.938 kB / 0.5699 GB, free: 14.26 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01118/0.1466, allocations: 2.528 MB / 0.5723 GB, free: 11.89 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001994/0.1468, allocations: 204.6 kB / 0.5725 GB, free: 11.64 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.6/1.747, allocations: 0 / 0.5725 GB, free: 11.64 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/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)