Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.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.0008761/0.0008761, 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.001067/0.001067, allocations: 211.6 kB / 22.25 MB, free: 3.586 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.9278/0.9278, allocations: 230.6 MB / 256 MB, free: 9.414 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.7868/0.7868, allocations: 203.8 MB / 0.5042 GB, free: 10.41 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.OBC.CDL.Integers.Sources.Validation.TimeTable,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable",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.001209/0.001209, allocations: 61.59 kB / 0.7182 GB, free: 4.035 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5263/0.5276, allocations: 102 MB / 0.8178 GB, free: 1.027 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001646/0.5292, allocations: 0.6714 MB / 0.8184 GB, free: 0.6094 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001414/0.5306, allocations: 1.349 MB / 0.8198 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.204e-05/0.5307, allocations: 6.719 kB / 0.8198 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0005683/0.5312, allocations: 182.1 kB / 0.8199 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001127/0.5314, allocations: 109.3 kB / 0.82 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006505/0.532, allocations: 238 kB / 0.8203 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005795/0.5326, allocations: 491.6 kB / 0.8207 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.079e-05/0.5326, allocations: 7.969 kB / 0.8208 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002506/0.5329, allocations: 202.6 kB / 0.8209 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003255/0.5332, allocations: 235.6 kB / 0.8212 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.707e-05/0.5333, allocations: 22.91 kB / 0.8212 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001841/0.5335, allocations: 94.27 kB / 0.8213 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002878/0.5338, allocations: 272.6 kB / 0.8215 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001641/0.5339, allocations: 129.2 kB / 0.8217 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005736/0.5345, allocations: 485.5 kB / 0.8221 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.5345, allocations: 5.219 kB / 0.8221 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.864e-06/0.5345, allocations: 0 / 0.8221 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.086e-05/0.5345, allocations: 0 / 0.8221 GB, free: 14.89 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009512/0.5355, allocations: 0.5778 MB / 0.8227 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.5355, allocations: 10.84 kB / 0.8227 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.142e-05/0.5355, allocations: 38.08 kB / 0.8227 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001109/0.5357, allocations: 30.42 kB / 0.8228 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000435/0.5361, allocations: 322.8 kB / 0.8231 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.5361, allocations: 14.17 kB / 0.8231 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.44e-05/0.5362, allocations: 20.98 kB / 0.8231 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002507/0.5364, allocations: 195.6 kB / 0.8233 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.5364, allocations: 4.5 kB / 0.8233 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.5364, allocations: 6 kB / 0.8233 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.5364, allocations: 1.312 kB / 0.8233 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001358/0.5366, allocations: 108.7 kB / 0.8234 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003323/0.5369, allocations: 291.8 kB / 0.8237 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003491/0.5372, allocations: 314.7 kB / 0.824 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001327/0.5374, allocations: 122.1 kB / 0.8241 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.598e-06/0.5374, allocations: 2.984 kB / 0.8241 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003909/0.5378, allocations: 284.5 kB / 0.8244 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.082e-06/0.5378, allocations: 1.594 kB / 0.8244 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0006375/0.5384, allocations: 497.6 kB / 0.8249 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.478e-05/0.5385, allocations: 114.6 kB / 0.825 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003633/0.5388, allocations: 400.2 kB / 0.8254 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.056e-05/0.5389, allocations: 37.45 kB / 0.8254 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.539, allocations: 159.3 kB / 0.8255 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.738e-05/0.539, allocations: 41.34 kB / 0.8256 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000126/0.5392, allocations: 122.5 kB / 0.8257 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.5393, allocations: 347.9 kB / 0.826 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001009/0.5394, allocations: 85.77 kB / 0.8261 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007235/0.5401, allocations: 1.098 MB / 0.8272 GB, free: 11.35 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002455/0.5403, allocations: 255.4 kB / 0.8274 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.5403, allocations: 1.188 kB / 0.8274 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004349/0.5408, allocations: 334.2 kB / 0.8277 GB, free: 11.03 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.5408, allocations: 9.594 kB / 0.8278 GB, free: 11.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.5408, allocations: 4.25 kB / 0.8278 GB, free: 11.03 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.5408, allocations: 5.719 kB / 0.8278 GB, free: 11.03 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.5409, allocations: 32.78 kB / 0.8278 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.375e-06/0.5409, allocations: 6 kB / 0.8278 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004074/0.5413, allocations: 67.62 kB / 0.8279 GB, free: 11 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.333e-05/0.5414, allocations: 15.02 kB / 0.8279 GB, free: 11 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 26 (tabOneRow.idx,$PRE.tabOneRow.idx,tabOneRow.y[1],$PRE.tabOneRow.y[1],$whenCondition10,intTimTab1.idx,$PRE.intTimTab1.idx,intTimTab1.y[2],$PRE.intTimTab1.y[2],intTimTab1.y[1],$PRE.intTimTab1.y[1],$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab.idx,$PRE.intTimTab.idx,intTimTab.y[2],$PRE.intTimTab.y[2],intTimTab.y[1],$PRE.intTimTab.y[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0002126/0.5416, allocations: 195.7 kB / 0.8281 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.645e-05/0.5416, allocations: 32.89 kB / 0.8281 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.209e-05/0.5417, allocations: 33.12 kB / 0.8281 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.5417, allocations: 3.859 kB / 0.8281 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.5417, allocations: 1.031 kB / 0.8281 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.5417, allocations: 1.766 kB / 0.8281 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002207/0.5419, allocations: 236 kB / 0.8284 GB, free: 10.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.5419, allocations: 1.578 kB / 0.8284 GB, free: 10.63 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.393e-05/0.5419, allocations: 8.078 kB / 0.8284 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.5419, allocations: 5.656 kB / 0.8284 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.755e-05/0.5419, allocations: 10.17 kB / 0.8284 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/0.5419, allocations: 1.625 kB / 0.8284 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.5419, allocations: 1.703 kB / 0.8284 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006763/0.5426, allocations: 437.5 kB / 0.8288 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.324e-05/0.5426, allocations: 27.02 kB / 0.8288 GB, free: 10.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.879e-05/0.5427, allocations: 7.344 kB / 0.8288 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.611e-05/0.5427, allocations: 6.516 kB / 0.8288 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.439e-05/0.5428, allocations: 21.48 kB / 0.8289 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.325e-05/0.5428, allocations: 11.86 kB / 0.8289 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000278/0.5431, allocations: 292.1 kB / 0.8292 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5431, allocations: 0 / 0.8292 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003138/0.5434, allocations: 81.31 kB / 0.8292 GB, free: 10.25 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition10,tabOneRow.y[1],tabOneRow.idx,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab1.y[1],intTimTab1.y[2],intTimTab1.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intTimTab.y[1],intTimTab.y[2],intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0007658/0.5442, allocations: 0.9897 MB / 0.8302 GB, free: 9.535 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003553/0.5445, allocations: 266.6 kB / 0.8305 GB, free: 9.461 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.5445, allocations: 0 / 0.8305 GB, free: 9.461 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000141/0.5447, allocations: 118 kB / 0.8306 GB, free: 9.434 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000197/0.5449, allocations: 26.11 kB / 0.8306 GB, free: 9.422 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003005/0.5479, allocations: 3.268 MB / 0.8338 GB, free: 7.469 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001268/0.548, allocations: 153.8 kB / 0.8339 GB, free: 7.383 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001145/0.5481, allocations: 49.66 kB / 0.834 GB, free: 7.379 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.7e-05/0.5482, allocations: 84.92 kB / 0.8341 GB, free: 7.32 MB / 0.6198 GB Notification: Performance of SimCode: time 4.11e-07/0.5482, allocations: 0 / 0.8341 GB, free: 7.32 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02467/0.5729, allocations: 8.645 MB / 0.8425 GB, free: 3.832 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.677/7.25, allocations: 18.72 kB / 0.8425 GB, free: 3.816 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=15 --stepSize=0.006 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.10123528400436] Failed to read output from testmodel.py, exit status != 0: 7.327720716129988 7.337551139 6.8008926259999996 Calling exit ...