Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Less.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.0008857/0.0008857, 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.0007854/0.0007854, 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.9063/0.9063, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.7301/0.7301, allocations: 154.5 MB / 413.7 MB, free: 0.8359 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.OBC.CDL.Integers.Validation.Less,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.Less,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.296e-06/3.296e-06, allocations: 0 / 0.618 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.139e-05/2.469e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Less): time 0.002868/0.002892, allocations: 1.965 MB / 0.62 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001968/0.00486, allocations: 1.286 MB / 0.6212 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001316/0.004992, allocations: 0 / 0.6212 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0003899/0.005382, allocations: 167.2 kB / 0.6214 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0004628/0.005844, allocations: 211.1 kB / 0.6216 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004036/0.006248, allocations: 163.5 kB / 0.6217 GB, free: 9.906 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0005015/0.00675, allocations: 347 kB / 0.6221 GB, free: 9.566 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002129/0.006962, allocations: 36.86 kB / 0.6221 GB, free: 9.523 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002583/0.007221, allocations: 191.5 kB / 0.6223 GB, free: 9.336 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002023/0.007423, allocations: 139.7 kB / 0.6224 GB, free: 9.199 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.027e-05/0.007453, allocations: 16 kB / 0.6224 GB, free: 9.184 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001363/0.00759, allocations: 55.97 kB / 0.6225 GB, free: 9.129 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.007692, allocations: 99.61 kB / 0.6226 GB, free: 9.031 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 7.489e-05/0.007767, allocations: 71.7 kB / 0.6227 GB, free: 8.961 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0003818/0.008149, allocations: 382.6 kB / 0.623 GB, free: 8.586 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/0.008154, allocations: 4 kB / 0.623 GB, free: 8.582 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.844e-06/0.008155, allocations: 0 / 0.623 GB, free: 8.582 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.643e-06/0.008162, allocations: 0 / 0.623 GB, free: 8.582 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007791/0.008941, allocations: 0.5701 MB / 0.6236 GB, free: 7.98 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.008982, allocations: 17.45 kB / 0.6236 GB, free: 7.965 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.498e-05/0.009017, allocations: 42.75 kB / 0.6236 GB, free: 7.914 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.203e-05/0.009079, allocations: 40.7 kB / 0.6237 GB, free: 7.875 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003897/0.009469, allocations: 308.2 kB / 0.624 GB, free: 7.555 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.885e-05/0.009487, allocations: 15.92 kB / 0.624 GB, free: 7.539 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.732e-05/0.009505, allocations: 11.94 kB / 0.624 GB, free: 7.527 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001814/0.009686, allocations: 107.4 kB / 0.6241 GB, free: 7.418 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.009697, allocations: 3.984 kB / 0.6241 GB, free: 7.414 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.009709, allocations: 4 kB / 0.6241 GB, free: 7.41 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.009715, allocations: 4 kB / 0.6241 GB, free: 7.406 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001092/0.009824, allocations: 67.95 kB / 0.6242 GB, free: 7.34 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006007/0.01042, allocations: 455.5 kB / 0.6246 GB, free: 6.852 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002259/0.01065, allocations: 134.4 kB / 0.6247 GB, free: 6.715 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.416e-05/0.01072, allocations: 52.77 kB / 0.6248 GB, free: 6.66 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.01074, allocations: 4 kB / 0.6248 GB, free: 6.656 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001765/0.01092, allocations: 119.3 kB / 0.6249 GB, free: 6.527 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=13): time 1.483e-06/0.01092, allocations: 4 kB / 0.6249 GB, free: 6.523 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13): time 0.0003888/0.01131, allocations: 233.3 kB / 0.6251 GB, free: 6.289 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.95e-05/0.01135, allocations: 51.41 kB / 0.6252 GB, free: 6.227 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004188/0.01177, allocations: 0.5327 MB / 0.6257 GB, free: 5.688 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/0.01179, allocations: 29.7 kB / 0.6257 GB, free: 5.652 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 9.455e-05/0.01188, allocations: 176.4 kB / 0.6259 GB, free: 5.477 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.797e-05/0.01191, allocations: 39.67 kB / 0.6259 GB, free: 5.438 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.363e-05/0.01199, allocations: 69.97 kB / 0.626 GB, free: 5.359 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.0121, allocations: 350.8 kB / 0.6263 GB, free: 5.008 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001309/0.01223, allocations: 100.5 kB / 0.6264 GB, free: 4.91 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000137/0.01237, allocations: 143.6 kB / 0.6266 GB, free: 4.762 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002002/0.01257, allocations: 175.5 kB / 0.6267 GB, free: 4.582 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.01257, allocations: 0 / 0.6267 GB, free: 4.582 MB / 0.5886 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003413/0.01291, allocations: 342.2 kB / 0.6271 GB, free: 4.242 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.01293, allocations: 4 kB / 0.6271 GB, free: 4.238 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.01293, allocations: 4.062 kB / 0.6271 GB, free: 4.234 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.01295, allocations: 7.938 kB / 0.6271 GB, free: 4.227 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000134/0.01308, allocations: 43.97 kB / 0.6271 GB, free: 4.184 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.01309, allocations: 7.938 kB / 0.6271 GB, free: 4.176 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.291e-05/0.01317, allocations: 27.88 kB / 0.6272 GB, free: 4.148 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.152e-05/0.01319, allocations: 8 kB / 0.6272 GB, free: 4.141 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.timTabLin1.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition1,timTabLin1.tab.nextTimeEventScaled,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,reaToInt1.y,reaToInt.y,intLes.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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 0.0001307/0.01332, allocations: 178.8 kB / 0.6273 GB, free: 3.957 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.65e-05/0.01336, allocations: 39.7 kB / 0.6274 GB, free: 3.918 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003027/0.01366, allocations: 212 kB / 0.6276 GB, free: 3.711 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.01367, allocations: 7.938 kB / 0.6276 GB, free: 3.703 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.01367, allocations: 0 / 0.6276 GB, free: 3.703 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.01368, allocations: 0 / 0.6276 GB, free: 3.703 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001815/0.01386, allocations: 260.6 kB / 0.6278 GB, free: 3.406 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.01386, allocations: 4 kB / 0.6278 GB, free: 3.402 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.333e-05/0.0139, allocations: 15.98 kB / 0.6279 GB, free: 3.387 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.01391, allocations: 0 / 0.6279 GB, free: 3.387 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.01392, allocations: 8 kB / 0.6279 GB, free: 3.379 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.766e-06/0.01392, allocations: 3.938 kB / 0.6279 GB, free: 3.375 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.01392, allocations: 0 / 0.6279 GB, free: 3.375 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002461/0.01417, allocations: 236.7 kB / 0.6281 GB, free: 3.125 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.732e-05/0.01421, allocations: 31.77 kB / 0.6281 GB, free: 3.094 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.732e-05/0.01424, allocations: 8 kB / 0.6281 GB, free: 3.086 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.582e-05/0.0143, allocations: 11.92 kB / 0.6281 GB, free: 3.074 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.52e-05/0.01435, allocations: 23.97 kB / 0.6282 GB, free: 3.051 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.01436, allocations: 4 kB / 0.6282 GB, free: 3.047 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0002294/0.01459, allocations: 331.1 kB / 0.6285 GB, free: 2.723 MB / 0.5886 GB Notification: Performance of sort global known variables: time 8e-08/0.01459, allocations: 0 / 0.6285 GB, free: 2.723 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002031/0.0148, allocations: 59.94 kB / 0.6285 GB, free: 2.664 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: 9 ($whenCondition2,$whenCondition1,intLes.y,reaToInt.y,reaToInt1.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001122/0.01592, allocations: 1.116 MB / 0.6296 GB, free: 1.738 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002831/0.0162, allocations: 200.1 kB / 0.6298 GB, free: 1.547 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.0162, allocations: 0 / 0.6298 GB, free: 1.547 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 8.459e-05/0.01629, allocations: 59.91 kB / 0.6299 GB, free: 1.488 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002915/0.01658, allocations: 94.77 kB / 0.63 GB, free: 1.402 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00267/0.01925, allocations: 3.226 MB / 0.6331 GB, free: 14.08 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000121/0.01937, allocations: 187.8 kB / 0.6333 GB, free: 13.88 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001154/0.01949, allocations: 58.88 kB / 0.6334 GB, free: 13.82 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001311/0.01962, allocations: 116.5 kB / 0.6335 GB, free: 13.7 MB / 0.6042 GB Notification: Performance of SimCode: time 3.61e-07/0.01962, allocations: 0 / 0.6335 GB, free: 13.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02234/0.04196, allocations: 8.478 MB / 0.6417 GB, free: 5.367 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.009/7.051, allocations: 7.547 kB / 0.6417 GB, free: 5.363 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Less.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Less.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Less.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Less.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_Less_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_Less.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Less.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.789820443838835] Failed to read output from testmodel.py, exit status != 0: 7.154663315974176 7.168067895 7.156972537 Calling exit ...