Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.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.0007454/0.0007454, allocations: 109.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.0007701/0.0007701, allocations: 214.2 kB / 22.25 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 0.9005/0.9005, allocations: 230.6 MB / 256 MB, free: 9.625 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.7685/0.7685, 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.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime",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.0009177/0.0009177, allocations: 66.77 kB / 0.7182 GB, free: 4.023 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5027/0.5036, allocations: 102 MB / 0.8178 GB, free: 1.035 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.001719/0.5053, allocations: 0.6579 MB / 0.8185 GB, free: 0.625 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00164/0.507, allocations: 1.35 MB / 0.8198 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7e-05/0.507, allocations: 5.438 kB / 0.8198 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004628/0.5075, allocations: 185.8 kB / 0.82 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001251/0.5076, allocations: 106.9 kB / 0.8201 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006877/0.5083, allocations: 237.6 kB / 0.8203 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005551/0.5089, allocations: 492.1 kB / 0.8207 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.96e-05/0.5089, allocations: 7.281 kB / 0.8208 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002452/0.5092, allocations: 206 kB / 0.821 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003881/0.5096, allocations: 234.5 kB / 0.8212 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.483e-05/0.5096, allocations: 21.38 kB / 0.8212 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002019/0.5098, allocations: 94.94 kB / 0.8213 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0003624/0.5102, allocations: 272.6 kB / 0.8215 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001508/0.5104, allocations: 128.5 kB / 0.8217 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005732/0.5109, allocations: 488.1 kB / 0.8221 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.5109, allocations: 0 / 0.8221 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.393e-06/0.5109, allocations: 0 / 0.8221 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.569e-05/0.511, allocations: 4 kB / 0.8221 GB, free: 14.9 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.0008058/0.5118, allocations: 0.5764 MB / 0.8227 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.5118, allocations: 9.656 kB / 0.8227 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.253e-05/0.5118, allocations: 38.94 kB / 0.8227 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.536e-05/0.5119, allocations: 30.58 kB / 0.8228 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004751/0.5124, allocations: 322.4 kB / 0.8231 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.5124, allocations: 13.59 kB / 0.8231 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.5e-05/0.5125, allocations: 21.61 kB / 0.8231 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002633/0.5127, allocations: 195 kB / 0.8233 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.5127, allocations: 9.594 kB / 0.8233 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.5127, allocations: 1.078 kB / 0.8233 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.5128, allocations: 5.25 kB / 0.8233 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001377/0.5129, allocations: 109 kB / 0.8234 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003244/0.5132, allocations: 292.5 kB / 0.8237 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003785/0.5136, allocations: 311 kB / 0.824 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001312/0.5137, allocations: 126.9 kB / 0.8241 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.743e-06/0.5137, allocations: 0 / 0.8241 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003469/0.5141, allocations: 286.9 kB / 0.8244 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 9.22e-07/0.5141, allocations: 0 / 0.8244 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0006161/0.5147, allocations: 497.7 kB / 0.8249 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.36e-05/0.5148, allocations: 114.4 kB / 0.825 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003658/0.5151, allocations: 400.8 kB / 0.8254 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.048e-05/0.5152, allocations: 38.12 kB / 0.8254 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/0.5153, allocations: 154.4 kB / 0.8255 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.121e-05/0.5153, allocations: 45.47 kB / 0.8256 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001385/0.5155, allocations: 118.9 kB / 0.8257 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.5156, allocations: 343.8 kB / 0.826 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001036/0.5157, allocations: 82.53 kB / 0.8261 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006697/0.5163, allocations: 1.1 MB / 0.8272 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00023/0.5166, allocations: 252 kB / 0.8274 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.5166, allocations: 5.156 kB / 0.8274 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003849/0.517, allocations: 332.9 kB / 0.8277 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.517, allocations: 10.92 kB / 0.8278 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.517, allocations: 4.219 kB / 0.8278 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.517, allocations: 5.438 kB / 0.8278 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.5171, allocations: 37.03 kB / 0.8278 GB, free: 11.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.988e-06/0.5171, allocations: 6.375 kB / 0.8278 GB, free: 11.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004132/0.5175, allocations: 73.23 kB / 0.8279 GB, free: 11.01 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.746e-05/0.5175, allocations: 11.38 kB / 0.8279 GB, free: 11.01 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.0001582/0.5177, allocations: 194.9 kB / 0.8281 GB, free: 10.87 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.681e-05/0.5177, allocations: 34.42 kB / 0.8281 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.571e-05/0.5178, allocations: 32.3 kB / 0.8281 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.5178, allocations: 3.219 kB / 0.8281 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.5178, allocations: 1.125 kB / 0.8281 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.5178, allocations: 2.406 kB / 0.8281 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003097/0.5181, allocations: 232.4 kB / 0.8284 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.5181, allocations: 0.7188 kB / 0.8284 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.442e-05/0.5181, allocations: 12.53 kB / 0.8284 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.5181, allocations: 5.75 kB / 0.8284 GB, free: 10.63 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.742e-05/0.5182, allocations: 5.938 kB / 0.8284 GB, free: 10.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.5182, allocations: 2.359 kB / 0.8284 GB, free: 10.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.5182, allocations: 1.156 kB / 0.8284 GB, free: 10.63 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005973/0.5188, allocations: 439.1 kB / 0.8288 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.305e-05/0.5188, allocations: 26.86 kB / 0.8288 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.439e-05/0.5188, allocations: 7.531 kB / 0.8288 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.257e-05/0.5189, allocations: 10.55 kB / 0.8289 GB, free: 10.42 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.451e-05/0.5189, allocations: 25 kB / 0.8289 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.673e-05/0.5189, allocations: 13.23 kB / 0.8289 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002431/0.5192, allocations: 291.3 kB / 0.8292 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.5192, allocations: 1.531 kB / 0.8292 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003016/0.5195, allocations: 80.77 kB / 0.8292 GB, free: 10.26 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.0006795/0.5202, allocations: 0.9858 MB / 0.8302 GB, free: 9.543 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003396/0.5205, allocations: 254.2 kB / 0.8304 GB, free: 9.48 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.5205, allocations: 0 / 0.8304 GB, free: 9.48 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001458/0.5207, allocations: 126.9 kB / 0.8306 GB, free: 9.445 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002125/0.5209, allocations: 25.75 kB / 0.8306 GB, free: 9.434 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003377/0.5242, allocations: 3.271 MB / 0.8338 GB, free: 7.48 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001426/0.5244, allocations: 157.5 kB / 0.8339 GB, free: 7.395 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001078/0.5245, allocations: 53.62 kB / 0.834 GB, free: 7.387 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.907e-05/0.5246, allocations: 85.44 kB / 0.8341 GB, free: 7.328 MB / 0.6198 GB Notification: Performance of SimCode: time 5.61e-07/0.5246, allocations: 0 / 0.8341 GB, free: 7.328 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02488/0.5495, allocations: 8.652 MB / 0.8425 GB, free: 3.852 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.728/7.278, allocations: 13.83 kB / 0.8425 GB, free: 3.84 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime_fmu --startTime=-5 --stopTime=10 --stepSize=0.006 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.088794071692973] Failed to read output from testmodel.py, exit status != 0: 7.357671926729381 7.3699518920000004 6.856168934 Calling exit ...