Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.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.0008911/0.0008911, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.001027/0.001027, allocations: 217.7 kB / 22.26 MB, free: 3.699 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.029/1.029, allocations: 230.6 MB / 256 MB, free: 9.801 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.8715/0.8715, allocations: 203.8 MB / 0.5042 GB, free: 10.73 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.Validation.OffTimerNonZeroStart,fileNamePrefix="IDEAS_dev_IDEAS_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="IDEAS_dev_IDEAS_Controls_Continuous_Validation_OffTimerNonZeroStart",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.0009517/0.0009517, allocations: 73.14 kB / 0.7182 GB, free: 4.359 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6105/0.6115, allocations: 102 MB / 0.8178 GB, free: 1.262 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002312/0.6138, allocations: 1.504 MB / 0.8193 GB, free: 224 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007379/0.6145, allocations: 497.7 kB / 0.8198 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.496e-05/0.6146, allocations: 0.7812 kB / 0.8198 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.186e-05/0.6146, allocations: 4.641 kB / 0.8198 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.354e-05/0.6147, allocations: 8.625 kB / 0.8198 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001621/0.6148, allocations: 16.23 kB / 0.8198 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.65e-05/0.6149, allocations: 55.14 kB / 0.8199 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.6151, allocations: 17.25 kB / 0.8199 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.731e-05/0.6151, allocations: 19.98 kB / 0.8199 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.998e-05/0.6152, allocations: 24.52 kB / 0.8199 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.809e-05/0.6152, allocations: 2.531 kB / 0.8199 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.077e-05/0.6152, allocations: 8.125 kB / 0.8199 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.681e-05/0.6152, allocations: 10.7 kB / 0.8199 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.616e-05/0.6153, allocations: 22.8 kB / 0.82 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001108/0.6154, allocations: 44.08 kB / 0.82 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.6154, allocations: 1.375 kB / 0.82 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.823e-06/0.6154, allocations: 3.938 kB / 0.82 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.543e-06/0.6154, allocations: 0 / 0.82 GB, free: 15.76 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004466/0.6159, allocations: 289 kB / 0.8203 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/0.6159, allocations: 11.16 kB / 0.8203 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.812e-05/0.6159, allocations: 39.44 kB / 0.8203 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.643e-05/0.616, allocations: 2.25 kB / 0.8203 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.6161, allocations: 115.7 kB / 0.8205 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.6161, allocations: 7.938 kB / 0.8205 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.556e-05/0.6161, allocations: 4.516 kB / 0.8205 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001113/0.6162, allocations: 61.38 kB / 0.8205 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.6163, allocations: 1.344 kB / 0.8205 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-06/0.6163, allocations: 0 / 0.8205 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.864e-06/0.6163, allocations: 2.922 kB / 0.8205 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.637e-05/0.6163, allocations: 28.89 kB / 0.8206 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005007/0.6168, allocations: 277.9 kB / 0.8208 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001234/0.617, allocations: 51.61 kB / 0.8209 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.518e-05/0.617, allocations: 25.23 kB / 0.8209 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.483e-05/0.617, allocations: 0 / 0.8209 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002007/0.6172, allocations: 87.67 kB / 0.821 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.002e-06/0.6172, allocations: 0 / 0.821 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0002581/0.6175, allocations: 95.5 kB / 0.8211 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.468e-05/0.6175, allocations: 55.17 kB / 0.8211 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.501e-05/0.6176, allocations: 105.7 kB / 0.8212 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.6176, allocations: 34.59 kB / 0.8213 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.056e-05/0.6177, allocations: 80.8 kB / 0.8213 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.285e-05/0.6177, allocations: 28.53 kB / 0.8214 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.976e-05/0.6178, allocations: 28.72 kB / 0.8214 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.6179, allocations: 322.6 kB / 0.8217 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.978e-05/0.6179, allocations: 15.33 kB / 0.8217 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.46e-05/0.618, allocations: 48.52 kB / 0.8218 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.916e-05/0.6181, allocations: 68.47 kB / 0.8218 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.6181, allocations: 2.781 kB / 0.8218 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001172/0.6182, allocations: 96.36 kB / 0.8219 GB, free: 14 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.6182, allocations: 8.625 kB / 0.8219 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.6182, allocations: 0 / 0.8219 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.6182, allocations: 1.531 kB / 0.8219 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.164e-05/0.6183, allocations: 10.17 kB / 0.8219 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.657e-06/0.6183, allocations: 2.062 kB / 0.8219 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.379e-05/0.6183, allocations: 10.89 kB / 0.8219 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.6184, allocations: 11.25 kB / 0.822 GB, free: 13.99 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 8.183e-05/0.6184, allocations: 122.7 kB / 0.8221 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.174e-06/0.6184, allocations: 4.75 kB / 0.8221 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.199e-05/0.6185, allocations: 9.047 kB / 0.8221 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.6185, allocations: 1.562 kB / 0.8221 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.6185, allocations: 0.6562 kB / 0.8221 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.6185, allocations: 0.5156 kB / 0.8221 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003393/0.6188, allocations: 340.3 kB / 0.8224 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.6188, allocations: 3.984 kB / 0.8224 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.485e-05/0.6189, allocations: 3.656 kB / 0.8224 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.6189, allocations: 1.156 kB / 0.8224 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.657e-06/0.6189, allocations: 5.391 kB / 0.8224 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.6189, allocations: 5.25 kB / 0.8224 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.6189, allocations: 0.7188 kB / 0.8224 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000118/0.619, allocations: 188.8 kB / 0.8226 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.454e-06/0.619, allocations: 8.5 kB / 0.8226 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.131e-05/0.619, allocations: 4.203 kB / 0.8226 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.229e-05/0.619, allocations: 7.984 kB / 0.8226 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.43e-05/0.6191, allocations: 10.28 kB / 0.8226 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.6191, allocations: 4.656 kB / 0.8226 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.963e-05/0.6191, allocations: 79.62 kB / 0.8227 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.6191, allocations: 0 / 0.8227 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001476/0.6193, allocations: 14.5 kB / 0.8227 GB, free: 13.29 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: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003048/0.6196, allocations: 0.717 MB / 0.8234 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001196/0.6197, allocations: 52.61 kB / 0.8235 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.6197, allocations: 7.875 kB / 0.8235 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.461e-05/0.6197, allocations: 25.72 kB / 0.8235 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002197/0.62, allocations: 15.48 kB / 0.8235 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/0.621, allocations: 1.368 MB / 0.8249 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001986/0.6212, allocations: 0.6852 MB / 0.8255 GB, free: 10.58 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.188e-05/0.6212, allocations: 10.03 kB / 0.8256 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.634e-05/0.6212, allocations: 20.11 kB / 0.8256 GB, free: 10.56 MB / 0.6198 GB Notification: Performance of SimCode: time 7.01e-07/0.6212, allocations: 0 / 0.8256 GB, free: 10.56 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01501/0.6363, allocations: 1.915 MB / 0.8274 GB, free: 10.11 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.861/7.498, allocations: 3.609 kB / 0.8274 GB, free: 10.11 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart_res.csv --start-time -1 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > IDEAS_dev_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.861254591029137] Failed to read output from testmodel.py, exit status != 0: 7.573292786022648 7.590004384 6.971325566 Calling exit ...