Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequests.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.001675/0.001675, allocations: 109.4 kB / 16.46 MB, free: 6.035 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.001766/0.001766, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.584/1.584, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.204/1.204, allocations: 175.8 MB / 478.4 MB, free: 8.465 MB / 382.1 MB " [Timeout remaining time 178] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="IDEAS_dev_IDEAS_Controls_Continuous_Examples_NumberOfRequests",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="IDEAS_dev_IDEAS_Controls_Continuous_Examples_NumberOfRequests",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002754/0.002754, allocations: 68.33 kB / 0.6652 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2554/0.2581, allocations: 94.54 MB / 0.7575 GB, free: 1.961 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.NumberOfRequests): time 0.002895/0.261, allocations: 1.472 MB / 0.7589 GB, free: 488 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0008941/0.2619, allocations: 462.9 kB / 0.7594 GB, free: 20 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.096e-05/0.262, allocations: 0 / 0.7594 GB, free: 20 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001131/0.2621, allocations: 11.92 kB / 0.7594 GB, free: 8 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.5745/0.8366, allocations: 13.89 kB / 0.7594 GB, free: 7.961 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002336/0.8368, allocations: 36.09 kB / 0.7594 GB, free: 7.961 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001997/0.837, allocations: 100.6 kB / 0.7595 GB, free: 7.961 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 6.871e-05/0.8371, allocations: 14.55 kB / 0.7595 GB, free: 7.961 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001415/0.8372, allocations: 48.14 kB / 0.7596 GB, free: 7.961 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 8.311e-05/0.8373, allocations: 44.89 kB / 0.7596 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.642e-05/0.8373, allocations: 8.188 kB / 0.7596 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 2.257e-05/0.8374, allocations: 8.531 kB / 0.7596 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.49e-05/0.8374, allocations: 12.69 kB / 0.7597 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 5.988e-05/0.8374, allocations: 42.67 kB / 0.7597 GB, free: 7.941 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001564/0.8376, allocations: 80.03 kB / 0.7598 GB, free: 7.934 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.8376, allocations: 1.391 kB / 0.7598 GB, free: 7.934 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.021e-06/0.8376, allocations: 1.281 kB / 0.7598 GB, free: 7.934 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.458e-06/0.8376, allocations: 0 / 0.7598 GB, free: 7.934 MB / 0.5762 GB 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.0005773/0.8382, allocations: 452.3 kB / 0.7602 GB, free: 7.5 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.8382, allocations: 11.02 kB / 0.7602 GB, free: 7.5 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.763e-05/0.8383, allocations: 37.38 kB / 0.7603 GB, free: 7.461 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.543e-05/0.8383, allocations: 12.25 kB / 0.7603 GB, free: 7.457 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001765/0.8385, allocations: 196.3 kB / 0.7605 GB, free: 7.254 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.8385, allocations: 4.297 kB / 0.7605 GB, free: 7.254 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.402e-05/0.8385, allocations: 10.31 kB / 0.7605 GB, free: 7.254 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003198/0.8388, allocations: 115.9 kB / 0.7606 GB, free: 7.219 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.8388, allocations: 0.5938 kB / 0.7606 GB, free: 7.219 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/0.8389, allocations: 3.344 kB / 0.7606 GB, free: 7.219 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-06/0.8389, allocations: 3.062 kB / 0.7606 GB, free: 7.219 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003169/0.8392, allocations: 88.42 kB / 0.7607 GB, free: 7.219 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005643/0.8397, allocations: 334.9 kB / 0.761 GB, free: 6.949 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003241/0.8401, allocations: 101.5 kB / 0.7611 GB, free: 6.922 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001897/0.8403, allocations: 63.41 kB / 0.7611 GB, free: 6.914 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.141e-05/0.8403, allocations: 6.125 kB / 0.7611 GB, free: 6.914 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004103/0.8407, allocations: 121 kB / 0.7613 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.8407, allocations: 0.7188 kB / 0.7613 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6): time 0.0008001/0.8415, allocations: 278.6 kB / 0.7615 GB, free: 6.801 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.243e-05/0.8415, allocations: 84.19 kB / 0.7616 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/0.8417, allocations: 130.2 kB / 0.7617 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.8417, allocations: 31.44 kB / 0.7618 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.827e-05/0.8417, allocations: 97.69 kB / 0.7619 GB, free: 6.492 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.727e-05/0.8418, allocations: 23.59 kB / 0.7619 GB, free: 6.48 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.028e-05/0.8418, allocations: 31.22 kB / 0.7619 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.176e-05/0.8419, allocations: 321.8 kB / 0.7622 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002038/0.8421, allocations: 65.67 kB / 0.7623 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001928/0.8423, allocations: 70.67 kB / 0.7623 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003417/0.8426, allocations: 184.8 kB / 0.7625 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.8426, allocations: 1.312 kB / 0.7625 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005358/0.8432, allocations: 261.3 kB / 0.7628 GB, free: 5.945 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.982e-05/0.8432, allocations: 65.61 kB / 0.7628 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.8432, allocations: 0 / 0.7628 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.8432, allocations: 2.094 kB / 0.7628 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.8433, allocations: 14.88 kB / 0.7629 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.8433, allocations: 3.156 kB / 0.7629 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001607/0.8435, allocations: 28.17 kB / 0.7629 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.8435, allocations: 4.719 kB / 0.7629 GB, free: 5.879 MB / 0.5762 GB 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.0001027/0.8436, allocations: 155.2 kB / 0.763 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.354e-05/0.8437, allocations: 9.922 kB / 0.763 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.796e-05/0.8437, allocations: 12.33 kB / 0.7631 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.8437, allocations: 1.75 kB / 0.7631 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.8437, allocations: 1.906 kB / 0.7631 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.8437, allocations: 7.844 kB / 0.7631 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001502/0.8438, allocations: 192.8 kB / 0.7633 GB, free: 5.523 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.8438, allocations: 0 / 0.7633 GB, free: 5.523 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.318e-05/0.8439, allocations: 12.33 kB / 0.7633 GB, free: 5.523 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.195e-06/0.8439, allocations: 1.156 kB / 0.7633 GB, free: 5.523 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.729e-05/0.8439, allocations: 6.922 kB / 0.7633 GB, free: 5.523 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.844, allocations: 5.891 kB / 0.7633 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.844, allocations: 0 / 0.7633 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005257/0.8445, allocations: 247.7 kB / 0.7635 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.589e-05/0.8445, allocations: 87.78 kB / 0.7636 GB, free: 5.312 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.224e-05/0.8445, allocations: 10.5 kB / 0.7636 GB, free: 5.312 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001378/0.8447, allocations: 26.38 kB / 0.7636 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001624/0.8448, allocations: 36.06 kB / 0.7637 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.899e-05/0.8449, allocations: 10.83 kB / 0.7637 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.834e-05/0.8449, allocations: 103.7 kB / 0.7638 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.8449, allocations: 0 / 0.7638 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002104/0.8451, allocations: 28.2 kB / 0.7638 GB, free: 5.227 MB / 0.5762 GB 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.0007651/0.8459, allocations: 0.7808 MB / 0.7646 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005343/0.8464, allocations: 257.5 kB / 0.7648 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.8464, allocations: 0 / 0.7648 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002473/0.8467, allocations: 130.3 kB / 0.7649 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002107/0.8469, allocations: 15.8 kB / 0.7649 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003/0.8499, allocations: 1.765 MB / 0.7667 GB, free: 19.24 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003569/0.8503, allocations: 0.6893 MB / 0.7673 GB, free: 18.54 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 6.196e-05/0.8503, allocations: 12.33 kB / 0.7674 GB, free: 18.54 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.032e-05/0.8504, allocations: 23.36 kB / 0.7674 GB, free: 18.53 MB / 0.5919 GB Notification: Performance of SimCode: time 5.51e-07/0.8504, allocations: 1.312 kB / 0.7674 GB, free: 18.53 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02777/0.8781, allocations: 3.03 MB / 0.7703 GB, free: 18.07 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.33/9.209, allocations: 7.469 kB / 0.7703 GB, free: 18.06 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequests.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_Continuous_Examples_NumberOfRequests_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_Continuous_Examples_NumberOfRequests.fmu > IDEAS_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.557034492958337] Failed to read output from testmodel.py, exit status != 0: 9.280752482824028 9.29300518 8.452108118 Calling exit ...