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.0008747/0.0008747, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008609/0.0008609, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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.9388/0.9388, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.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.7197/0.7197, allocations: 154.5 MB / 413.7 MB, free: 0.8242 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 2.876e-06/2.876e-06, allocations: 0 / 0.618 GB, free: 13.77 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.406e-05/2.693e-05, allocations: 2.281 kB / 0.618 GB, free: 13.77 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.00253/0.002557, allocations: 1.492 MB / 0.6195 GB, free: 12.26 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0006501/0.003207, allocations: 462.7 kB / 0.6199 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.722e-05/0.003244, allocations: 0 / 0.6199 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.864e-05/0.003273, allocations: 7.922 kB / 0.6199 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.898e-05/0.003352, allocations: 3.984 kB / 0.6199 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001521/0.003504, allocations: 23.92 kB / 0.6199 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.306e-05/0.003587, allocations: 55.78 kB / 0.62 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.0037, allocations: 11.97 kB / 0.62 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.485e-05/0.003765, allocations: 27.98 kB / 0.62 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.014e-05/0.003825, allocations: 15.91 kB / 0.6201 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.312e-05/0.003848, allocations: 4 kB / 0.6201 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.014e-05/0.003859, allocations: 8 kB / 0.6201 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.201e-05/0.003881, allocations: 7.984 kB / 0.6201 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.929e-05/0.00392, allocations: 23.92 kB / 0.6201 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001096/0.00403, allocations: 43.86 kB / 0.6201 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.004032, allocations: 3.938 kB / 0.6201 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.325e-06/0.004035, allocations: 4 kB / 0.6201 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.519e-06/0.004039, allocations: 0 / 0.6201 GB, free: 11.57 MB / 0.5886 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.0004387/0.004478, allocations: 278.3 kB / 0.6204 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.004521, allocations: 13.47 kB / 0.6204 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.306e-05/0.004554, allocations: 38.73 kB / 0.6205 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.653e-05/0.00458, allocations: 8.891 kB / 0.6205 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.444e-05/0.004675, allocations: 109.7 kB / 0.6206 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.004688, allocations: 12.3 kB / 0.6206 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.758e-06/0.004697, allocations: 4.375 kB / 0.6206 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.641e-05/0.004794, allocations: 66.12 kB / 0.6206 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.004802, allocations: 192 / 0.6206 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.004811, allocations: 4.125 kB / 0.6207 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.004815, allocations: 0 / 0.6207 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.357e-05/0.004869, allocations: 27.98 kB / 0.6207 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003964/0.005265, allocations: 263.8 kB / 0.6209 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 9.852e-05/0.005364, allocations: 50.56 kB / 0.621 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.397e-05/0.005398, allocations: 24.94 kB / 0.621 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.021e-05/0.005408, allocations: 0 / 0.621 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001616/0.005569, allocations: 79.41 kB / 0.6211 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=9): time 1.032e-06/0.00557, allocations: 0 / 0.6211 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9): time 0.0001992/0.00577, allocations: 101.6 kB / 0.6212 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.015e-05/0.00581, allocations: 55.41 kB / 0.6212 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.918e-05/0.005869, allocations: 109.8 kB / 0.6213 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/0.005881, allocations: 25.7 kB / 0.6214 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.094e-05/0.005922, allocations: 88.14 kB / 0.6214 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.304e-05/0.005945, allocations: 27.78 kB / 0.6215 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.475e-05/0.00598, allocations: 25.72 kB / 0.6215 GB, free: 10 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.801e-05/0.006068, allocations: 318.8 kB / 0.6218 GB, free: 9.684 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.019e-05/0.006098, allocations: 24 kB / 0.6218 GB, free: 9.66 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.848e-05/0.006147, allocations: 39.42 kB / 0.6219 GB, free: 9.609 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.058e-05/0.006217, allocations: 67.36 kB / 0.6219 GB, free: 9.531 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.00622, allocations: 0 / 0.6219 GB, free: 9.531 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001129/0.006332, allocations: 105.8 kB / 0.622 GB, free: 9.422 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.006348, allocations: 4 kB / 0.622 GB, free: 9.418 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.006354, allocations: 0 / 0.622 GB, free: 9.418 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.006368, allocations: 7.938 kB / 0.622 GB, free: 9.41 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.735e-05/0.006435, allocations: 16.38 kB / 0.6221 GB, free: 9.395 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.00644, allocations: 4.031 kB / 0.6221 GB, free: 9.391 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.253e-05/0.006482, allocations: 7.984 kB / 0.6221 GB, free: 9.383 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.006488, allocations: 4 kB / 0.6221 GB, free: 9.379 MB / 0.5886 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.464e-05/0.006563, allocations: 130.2 kB / 0.6222 GB, free: 9.246 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.887e-06/0.006572, allocations: 7.953 kB / 0.6222 GB, free: 9.238 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.499e-05/0.006597, allocations: 8.125 kB / 0.6222 GB, free: 9.227 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.0066, allocations: 4 kB / 0.6222 GB, free: 9.223 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.006605, allocations: 3.938 kB / 0.6222 GB, free: 9.219 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.006609, allocations: 3.984 kB / 0.6222 GB, free: 9.215 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003089/0.006918, allocations: 325.5 kB / 0.6225 GB, free: 8.848 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.00692, allocations: 0 / 0.6225 GB, free: 8.848 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.706e-05/0.006937, allocations: 4 kB / 0.6225 GB, free: 8.844 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.006939, allocations: 0 / 0.6225 GB, free: 8.844 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.006946, allocations: 4 kB / 0.6225 GB, free: 8.84 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.006948, allocations: 0 / 0.6225 GB, free: 8.84 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.006949, allocations: 0 / 0.6225 GB, free: 8.84 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001209/0.00707, allocations: 187.4 kB / 0.6227 GB, free: 8.641 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.008e-05/0.00708, allocations: 11.89 kB / 0.6227 GB, free: 8.629 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.13e-05/0.007091, allocations: 0 / 0.6227 GB, free: 8.629 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.988e-05/0.007141, allocations: 7.984 kB / 0.6227 GB, free: 8.621 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.289e-05/0.007184, allocations: 15.98 kB / 0.6227 GB, free: 8.605 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.756e-06/0.007193, allocations: 7.938 kB / 0.6228 GB, free: 8.598 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.196e-05/0.007225, allocations: 79.28 kB / 0.6228 GB, free: 8.52 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.007225, allocations: 0 / 0.6228 GB, free: 8.52 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001476/0.007372, allocations: 12 kB / 0.6228 GB, free: 8.508 MB / 0.5886 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.0003164/0.007689, allocations: 0.7126 MB / 0.6235 GB, free: 7.766 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001186/0.007807, allocations: 59.84 kB / 0.6236 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.007809, allocations: 0 / 0.6236 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.529e-05/0.007845, allocations: 20 kB / 0.6236 GB, free: 7.688 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002151/0.00806, allocations: 23.27 kB / 0.6236 GB, free: 7.668 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009461/0.009006, allocations: 1.363 MB / 0.625 GB, free: 6.207 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.914e-05/0.009055, allocations: 71.33 kB / 0.625 GB, free: 6.117 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.54e-05/0.00908, allocations: 4.328 kB / 0.625 GB, free: 6.113 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.952e-05/0.00912, allocations: 16.5 kB / 0.6251 GB, free: 6.098 MB / 0.5886 GB Notification: Performance of SimCode: time 6.12e-07/0.009121, allocations: 0 / 0.6251 GB, free: 6.098 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01759/0.02671, allocations: 2.466 MB / 0.6275 GB, free: 3.789 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.075/7.102, allocations: 11.22 kB / 0.6275 GB, free: 3.785 MB / 0.5886 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: 9.96724572405219] Failed to read output from testmodel.py, exit status != 0: 7.185054357163608 7.194268942 7.188582292 Calling exit ...