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.00105/0.00105, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.001162/0.001162, allocations: 206.5 kB / 22.24 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.039/1.039, allocations: 230.6 MB / 256 MB, free: 9.629 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.8189/0.8189, allocations: 203.8 MB / 0.5042 GB, free: 10.45 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.0009646/0.0009646, allocations: 65.3 kB / 0.7181 GB, free: 4.09 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5774/0.5784, allocations: 102 MB / 0.8178 GB, free: 1.062 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.001941/0.5803, allocations: 1.501 MB / 0.8192 GB, free: 28 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006103/0.5809, allocations: 456.7 kB / 0.8197 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.854e-05/0.581, allocations: 0 / 0.8197 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.109e-05/0.581, allocations: 5.438 kB / 0.8197 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.377e-05/0.5811, allocations: 8.469 kB / 0.8197 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001524/0.5812, allocations: 24.3 kB / 0.8197 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.465e-05/0.5813, allocations: 47.97 kB / 0.8198 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.5814, allocations: 12.62 kB / 0.8198 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.908e-05/0.5815, allocations: 19.5 kB / 0.8198 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.256e-05/0.5815, allocations: 23.2 kB / 0.8198 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.582e-05/0.5815, allocations: 6.922 kB / 0.8198 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.688e-06/0.5815, allocations: 10.25 kB / 0.8198 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.546e-05/0.5816, allocations: 10.61 kB / 0.8198 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.123e-05/0.5816, allocations: 17.38 kB / 0.8198 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001047/0.5817, allocations: 40.19 kB / 0.8199 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.5817, allocations: 2.094 kB / 0.8199 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.833e-06/0.5817, allocations: 0 / 0.8199 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.5817, allocations: 0 / 0.8199 GB, free: 15.62 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.0004191/0.5821, allocations: 296.3 kB / 0.8202 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.5822, allocations: 8.344 kB / 0.8202 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.019e-05/0.5822, allocations: 34.59 kB / 0.8202 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.549e-05/0.5822, allocations: 8.188 kB / 0.8202 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.403e-05/0.5823, allocations: 119.4 kB / 0.8203 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.5823, allocations: 3.531 kB / 0.8203 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/0.5824, allocations: 11.69 kB / 0.8203 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.828e-05/0.5825, allocations: 57.5 kB / 0.8204 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.5825, allocations: 0 / 0.8204 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-06/0.5825, allocations: 1.938 kB / 0.8204 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.5825, allocations: 2.578 kB / 0.8204 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.364e-05/0.5825, allocations: 27.95 kB / 0.8204 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003909/0.5829, allocations: 259.5 kB / 0.8207 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.325e-05/0.583, allocations: 55.23 kB / 0.8207 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.405e-05/0.583, allocations: 25.31 kB / 0.8208 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.063e-05/0.5831, allocations: 3.125 kB / 0.8208 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001325/0.5832, allocations: 76.62 kB / 0.8208 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.212e-06/0.5832, allocations: 0 / 0.8208 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0001891/0.5834, allocations: 98.52 kB / 0.8209 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/0.5834, allocations: 57.7 kB / 0.821 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.572e-05/0.5835, allocations: 110.2 kB / 0.8211 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.288e-05/0.5835, allocations: 29.7 kB / 0.8211 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.762e-05/0.5835, allocations: 82.62 kB / 0.8212 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.424e-05/0.5836, allocations: 29.34 kB / 0.8212 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.414e-05/0.5836, allocations: 29.08 kB / 0.8213 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.513e-05/0.5837, allocations: 321.9 kB / 0.8216 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.708e-05/0.5837, allocations: 16.33 kB / 0.8216 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.159e-05/0.5837, allocations: 46.28 kB / 0.8216 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.622e-05/0.5838, allocations: 78.2 kB / 0.8217 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.5838, allocations: 2 kB / 0.8217 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001052/0.5839, allocations: 98.28 kB / 0.8218 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.5839, allocations: 4.281 kB / 0.8218 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.5839, allocations: 2.812 kB / 0.8218 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.5839, allocations: 0 / 0.8218 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.822e-05/0.584, allocations: 9.297 kB / 0.8218 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.584, allocations: 3.375 kB / 0.8218 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.005e-05/0.584, allocations: 11.14 kB / 0.8218 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-06/0.5841, allocations: 5.781 kB / 0.8218 GB, free: 13.86 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 6.146e-05/0.5841, allocations: 124.8 kB / 0.8219 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.402e-06/0.5841, allocations: 2.188 kB / 0.8219 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.309e-05/0.5841, allocations: 10.77 kB / 0.822 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.5841, allocations: 288 / 0.822 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.5842, allocations: 5.375 kB / 0.822 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.5842, allocations: 0.6562 kB / 0.822 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002733/0.5844, allocations: 323.3 kB / 0.8223 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.5844, allocations: 4.641 kB / 0.8223 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.348e-05/0.5844, allocations: 4.703 kB / 0.8223 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-06/0.5844, allocations: 4 kB / 0.8223 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.5845, allocations: 7.062 kB / 0.8223 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.5845, allocations: 4.734 kB / 0.8223 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.5845, allocations: 0 / 0.8223 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001106/0.5846, allocations: 183.6 kB / 0.8225 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.266e-06/0.5846, allocations: 9.859 kB / 0.8225 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.888e-06/0.5846, allocations: 0.5156 kB / 0.8225 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.404e-05/0.5846, allocations: 8.312 kB / 0.8225 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.039e-05/0.5847, allocations: 16.5 kB / 0.8225 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.5847, allocations: 5.844 kB / 0.8225 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.785e-05/0.5847, allocations: 80.38 kB / 0.8226 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5847, allocations: 4 kB / 0.8226 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001504/0.5849, allocations: 18.72 kB / 0.8226 GB, free: 13.15 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.0002783/0.5851, allocations: 0.7094 MB / 0.8233 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000109/0.5852, allocations: 55.64 kB / 0.8234 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.5852, allocations: 0 / 0.8234 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.03e-05/0.5853, allocations: 25.73 kB / 0.8234 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001923/0.5855, allocations: 19.34 kB / 0.8234 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008956/0.5864, allocations: 1.37 MB / 0.8247 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.878e-05/0.5864, allocations: 69.66 kB / 0.8248 GB, free: 11.08 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.397e-05/0.5864, allocations: 9.328 kB / 0.8248 GB, free: 11.08 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.845e-05/0.5865, allocations: 17.02 kB / 0.8248 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of SimCode: time 2.6e-07/0.5865, allocations: 0 / 0.8248 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01457/0.6011, allocations: 2.34 MB / 0.8271 GB, free: 10.17 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.643/7.244, allocations: 5.547 kB / 0.8271 GB, free: 10.17 MB / 0.6198 GB " [Timeout remaining time 653] (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.525935255922377] Failed to read output from testmodel.py, exit status != 0: 7.3221323187462986 7.334110912 6.75032504 Calling exit ...