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.0006171/0.0006171, allocations: 101.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.0007376/0.0007376, allocations: 209.2 kB / 22.24 MB, free: 3.59 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 0.9686/0.9686, allocations: 230.6 MB / 256 MB, free: 9.59 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.7881/0.7881, allocations: 203.8 MB / 0.5042 GB, free: 10.44 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.0009605/0.0009605, allocations: 71.3 kB / 0.7182 GB, free: 4.066 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7028/0.7038, allocations: 102 MB / 0.8178 GB, free: 1.051 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002291/0.7061, allocations: 1.494 MB / 0.8192 GB, free: 24 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007239/0.7068, allocations: 461.8 kB / 0.8197 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.128e-05/0.7069, allocations: 1.188 kB / 0.8197 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.761e-05/0.7069, allocations: 0.9375 kB / 0.8197 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.664e-05/0.707, allocations: 13.77 kB / 0.8197 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000198/0.7072, allocations: 17.72 kB / 0.8197 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001157/0.7073, allocations: 53.02 kB / 0.8198 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000149/0.7075, allocations: 16.36 kB / 0.8198 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.38e-05/0.7075, allocations: 21.61 kB / 0.8198 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.924e-05/0.7076, allocations: 16.92 kB / 0.8198 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.079e-05/0.7076, allocations: 7.094 kB / 0.8198 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.22e-05/0.7076, allocations: 5.688 kB / 0.8198 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.686e-05/0.7077, allocations: 10.17 kB / 0.8198 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.063e-05/0.7077, allocations: 23.14 kB / 0.8199 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001358/0.7078, allocations: 44.64 kB / 0.8199 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.7078, allocations: 0 / 0.8199 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.194e-06/0.7078, allocations: 0 / 0.8199 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.614e-06/0.7079, allocations: 1.625 kB / 0.8199 GB, free: 15.61 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.0004867/0.7083, allocations: 288.8 kB / 0.8202 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.7084, allocations: 11.31 kB / 0.8202 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.746e-05/0.7084, allocations: 39.25 kB / 0.8202 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.845e-05/0.7084, allocations: 3.922 kB / 0.8202 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.786e-05/0.7085, allocations: 114.1 kB / 0.8203 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.7086, allocations: 4.969 kB / 0.8203 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.179e-05/0.7086, allocations: 8.391 kB / 0.8203 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001022/0.7087, allocations: 63.25 kB / 0.8204 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.7087, allocations: 3.984 kB / 0.8204 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.387e-06/0.7087, allocations: 4.641 kB / 0.8204 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.7087, allocations: 3.938 kB / 0.8204 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.754e-05/0.7088, allocations: 25.78 kB / 0.8204 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004286/0.7092, allocations: 263.3 kB / 0.8207 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.761e-05/0.7093, allocations: 46.42 kB / 0.8207 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.706e-05/0.7093, allocations: 27.52 kB / 0.8208 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.508e-06/0.7093, allocations: 0 / 0.8208 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000163/0.7095, allocations: 80.34 kB / 0.8208 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 9.02e-07/0.7095, allocations: 0 / 0.8208 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.00021/0.7097, allocations: 96.61 kB / 0.8209 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.079e-05/0.7097, allocations: 58.78 kB / 0.821 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.698e-05/0.7098, allocations: 110.1 kB / 0.8211 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.7098, allocations: 33.64 kB / 0.8211 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.891e-05/0.7099, allocations: 84.8 kB / 0.8212 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.34e-05/0.7099, allocations: 20.53 kB / 0.8212 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.921e-05/0.7099, allocations: 30.25 kB / 0.8213 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.864e-05/0.71, allocations: 323.2 kB / 0.8216 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.028e-05/0.7101, allocations: 14.72 kB / 0.8216 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.16e-05/0.7101, allocations: 49.83 kB / 0.8216 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.039e-05/0.7102, allocations: 66.19 kB / 0.8217 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.7102, allocations: 4 kB / 0.8217 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001131/0.7103, allocations: 97.83 kB / 0.8218 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.7103, allocations: 5.172 kB / 0.8218 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.7103, allocations: 0.9688 kB / 0.8218 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.7103, allocations: 2.281 kB / 0.8218 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.424e-05/0.7104, allocations: 13.16 kB / 0.8218 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.7104, allocations: 1.781 kB / 0.8218 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.012e-05/0.7104, allocations: 8.109 kB / 0.8218 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.7104, allocations: 10.25 kB / 0.8218 GB, free: 13.85 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 7.473e-05/0.7105, allocations: 129.4 kB / 0.8219 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.773e-06/0.7105, allocations: 3.125 kB / 0.8219 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.747e-05/0.7106, allocations: 13.48 kB / 0.822 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.7106, allocations: 6.812 kB / 0.822 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.7106, allocations: 0 / 0.822 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.7106, allocations: 0.6562 kB / 0.822 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003089/0.7109, allocations: 328.8 kB / 0.8223 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.7109, allocations: 0 / 0.8223 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.812e-05/0.7109, allocations: 10.02 kB / 0.8223 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.7109, allocations: 0 / 0.8223 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/0.7109, allocations: 4 kB / 0.8223 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.7109, allocations: 4.594 kB / 0.8223 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.7109, allocations: 0.75 kB / 0.8223 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001098/0.711, allocations: 183.4 kB / 0.8225 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.446e-06/0.711, allocations: 8.969 kB / 0.8225 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.711, allocations: 5.141 kB / 0.8225 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.724e-05/0.7111, allocations: 11.45 kB / 0.8225 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.206e-05/0.7111, allocations: 13.55 kB / 0.8225 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.7111, allocations: 0 / 0.8225 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.281e-05/0.7112, allocations: 79.19 kB / 0.8226 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.7112, allocations: 0 / 0.8226 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001542/0.7113, allocations: 19.56 kB / 0.8226 GB, free: 13.14 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.0003149/0.7116, allocations: 0.7219 MB / 0.8233 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001185/0.7118, allocations: 51 kB / 0.8234 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.7118, allocations: 1.5 kB / 0.8234 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.105e-05/0.7118, allocations: 20.73 kB / 0.8234 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002126/0.712, allocations: 16.94 kB / 0.8234 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009698/0.713, allocations: 1.368 MB / 0.8247 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.693e-05/0.713, allocations: 72.97 kB / 0.8248 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.98e-05/0.7131, allocations: 10.3 kB / 0.8248 GB, free: 11.06 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.576e-05/0.7131, allocations: 16.02 kB / 0.8248 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of SimCode: time 5.01e-07/0.7131, allocations: 0 / 0.8248 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01705/0.7302, allocations: 2.328 MB / 0.8271 GB, free: 10.17 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.389/7.12, allocations: 10.77 kB / 0.8271 GB, free: 10.16 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_Continuous_Validation_OffTimerNonZeroStart_fmu --startTime=-1 --stopTime=0 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.10650737490505] Failed to read output from testmodel.py, exit status != 0: 7.194745808839798 7.205765336 6.495838323 Calling exit ...