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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009777/0.0009777, allocations: 105.5 kB / 18.95 MB, free: 1.188 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 213.9 kB / 22.25 MB, free: 3.578 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.061/1.061, allocations: 230.6 MB / 256 MB, free: 9.578 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8533/0.8533, allocations: 203.8 MB / 0.5042 GB, free: 10.4 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001111/0.001111, allocations: 74.47 kB / 0.7181 GB, free: 4.074 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7122/0.7133, allocations: 102 MB / 0.8178 GB, free: 1.055 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.NumberOfRequests): time 0.002554/0.7159, allocations: 1.501 MB / 0.8192 GB, free: 16 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009775/0.7169, allocations: 495.4 kB / 0.8197 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.874e-05/0.717, allocations: 2.656 kB / 0.8197 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000144/0.7171, allocations: 9.047 kB / 0.8197 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.512e-05/0.7172, allocations: 18.88 kB / 0.8197 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003647/0.7175, allocations: 47.06 kB / 0.8198 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002239/0.7178, allocations: 101.8 kB / 0.8199 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001579/0.7179, allocations: 16.19 kB / 0.8199 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002429/0.7182, allocations: 50.3 kB / 0.8199 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001135/0.7183, allocations: 43.95 kB / 0.82 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.456e-05/0.7183, allocations: 6.656 kB / 0.82 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.988e-05/0.7184, allocations: 13.81 kB / 0.82 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.341e-05/0.7184, allocations: 15.34 kB / 0.82 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.265e-05/0.7185, allocations: 41.8 kB / 0.82 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002318/0.7187, allocations: 88.06 kB / 0.8201 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.7187, allocations: 0 / 0.8201 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.196e-06/0.7188, allocations: 0 / 0.8201 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.676e-06/0.7188, allocations: 0 / 0.8201 GB, free: 15.49 MB / 0.6198 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.000794/0.7196, allocations: 377.4 kB / 0.8205 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.924e-05/0.7196, allocations: 9.156 kB / 0.8205 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.341e-05/0.7197, allocations: 39.88 kB / 0.8205 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001736/0.7198, allocations: 18.06 kB / 0.8206 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003053/0.7201, allocations: 141 kB / 0.8207 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/0.7202, allocations: 5.375 kB / 0.8207 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.032e-05/0.7202, allocations: 9.906 kB / 0.8207 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003345/0.7205, allocations: 160.6 kB / 0.8209 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.7205, allocations: 0.6562 kB / 0.8209 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.7205, allocations: 0 / 0.8209 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.7205, allocations: 4.25 kB / 0.8209 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002292/0.7208, allocations: 122.6 kB / 0.821 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005512/0.7213, allocations: 284.3 kB / 0.8212 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002664/0.7216, allocations: 129.7 kB / 0.8214 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001369/0.7217, allocations: 96.48 kB / 0.8215 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.979e-05/0.7217, allocations: 7.922 kB / 0.8215 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003061/0.7221, allocations: 153.6 kB / 0.8216 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 3.536e-06/0.7221, allocations: 0.9688 kB / 0.8216 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0006076/0.7227, allocations: 336.9 kB / 0.8219 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.908e-05/0.7227, allocations: 85.27 kB / 0.822 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.7229, allocations: 135.4 kB / 0.8222 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.7229, allocations: 28.36 kB / 0.8222 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.941e-05/0.723, allocations: 99.28 kB / 0.8223 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.012e-05/0.723, allocations: 16.91 kB / 0.8223 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.723e-05/0.723, allocations: 32.33 kB / 0.8223 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.7231, allocations: 322.7 kB / 0.8226 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001746/0.7233, allocations: 123.5 kB / 0.8227 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001505/0.7235, allocations: 122.1 kB / 0.8229 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002445/0.7237, allocations: 187.7 kB / 0.823 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.7237, allocations: 256 / 0.823 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003849/0.7241, allocations: 323.4 kB / 0.8233 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.203e-05/0.7242, allocations: 68.88 kB / 0.8234 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.7242, allocations: 5.188 kB / 0.8234 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/0.7242, allocations: 0 / 0.8234 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.7243, allocations: 16.09 kB / 0.8234 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.778e-06/0.7243, allocations: 4 kB / 0.8234 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.201e-05/0.7244, allocations: 32.59 kB / 0.8235 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.859e-05/0.7244, allocations: 7.594 kB / 0.8235 GB, free: 12.83 MB / 0.6198 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.0001308/0.7245, allocations: 160.9 kB / 0.8236 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.875e-05/0.7246, allocations: 8.672 kB / 0.8236 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.357e-05/0.7246, allocations: 14.41 kB / 0.8237 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.7246, allocations: 1.156 kB / 0.8237 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.7246, allocations: 0 / 0.8237 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.7246, allocations: 0 / 0.8237 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001268/0.7247, allocations: 152.2 kB / 0.8238 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.7247, allocations: 0 / 0.8238 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.834e-05/0.7248, allocations: 13.52 kB / 0.8238 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.7248, allocations: 1.062 kB / 0.8238 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.767e-05/0.7248, allocations: 6.844 kB / 0.8238 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.7248, allocations: 0 / 0.8238 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.7248, allocations: 2.406 kB / 0.8238 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003907/0.7252, allocations: 282.1 kB / 0.8241 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.431e-05/0.7252, allocations: 11.89 kB / 0.8241 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.347e-05/0.7253, allocations: 2.641 kB / 0.8241 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.973e-05/0.7253, allocations: 23.69 kB / 0.8241 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000157/0.7255, allocations: 37.39 kB / 0.8242 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/0.7255, allocations: 3.219 kB / 0.8242 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.305e-05/0.7256, allocations: 108.1 kB / 0.8243 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.7256, allocations: 0 / 0.8243 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001599/0.7257, allocations: 22.31 kB / 0.8243 GB, free: 12.2 MB / 0.6198 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.000681/0.7264, allocations: 0.8134 MB / 0.8251 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004609/0.7269, allocations: 353.2 kB / 0.8254 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.7269, allocations: 0 / 0.8254 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001992/0.7271, allocations: 155.8 kB / 0.8256 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002177/0.7273, allocations: 18.45 kB / 0.8256 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002084/0.7294, allocations: 2.048 MB / 0.8276 GB, free: 9.453 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.54e-05/0.7295, allocations: 77.88 kB / 0.8277 GB, free: 9.379 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.608e-05/0.7295, allocations: 7.859 kB / 0.8277 GB, free: 9.379 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.069e-05/0.7296, allocations: 22.64 kB / 0.8277 GB, free: 9.363 MB / 0.6198 GB Notification: Performance of SimCode: time 9.42e-07/0.7296, allocations: 0 / 0.8277 GB, free: 9.363 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02323/0.7528, allocations: 3.771 MB / 0.8314 GB, free: 8.344 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.109/7.862, allocations: 7.906 kB / 0.8314 GB, free: 8.34 MB / 0.6198 GB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequests_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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: 11.25208496209234] Failed to read output from testmodel.py, exit status != 0: 7.9400919559411705 7.952146461 7.231090957 Calling exit ...