Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test24.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test24,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test24,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test24",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001704/0.001705, allocations: 114.9 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00194/0.00194, allocations: 205.9 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.476/1.476, allocations: 227.4 MB / 247 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2248/0.2248, allocations: 46.12 MB / 344.4 MB, free: 11.46 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.003241/0.003241, allocations: 79.86 kB / 481 MB, free: 4.441 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4069/0.4102, allocations: 62.45 MB / 0.5307 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.00282/0.4131, allocations: 1.734 MB / 0.5324 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001533/0.4146, allocations: 1.018 MB / 0.5334 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.986e-05/0.4147, allocations: 0.8125 kB / 0.5334 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002612/0.415, allocations: 49.41 kB / 0.5334 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002685/0.4152, allocations: 103 kB / 0.5335 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001836/0.4154, allocations: 75.72 kB / 0.5336 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001636/0.4156, allocations: 105.5 kB / 0.5337 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.978e-05/0.4157, allocations: 14.62 kB / 0.5337 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.314e-05/0.4158, allocations: 39.42 kB / 0.5338 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.261e-05/0.4159, allocations: 33.78 kB / 0.5338 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/0.4159, allocations: 3.312 kB / 0.5338 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.43e-05/0.416, allocations: 44.03 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.3e-05/0.4161, allocations: 27.05 kB / 0.5339 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.045e-05/0.4161, allocations: 33 kB / 0.5339 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002038/0.4163, allocations: 126.7 kB / 0.534 GB, free: 10.83 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.4163, allocations: 0 / 0.534 GB, free: 10.83 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.4163, allocations: 0 / 0.534 GB, free: 10.83 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.878e-06/0.4164, allocations: 1.25 kB / 0.534 GB, free: 10.83 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005304/0.4169, allocations: 425.5 kB / 0.5344 GB, free: 10.4 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.048e-05/0.4169, allocations: 9.031 kB / 0.5344 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.484e-05/0.417, allocations: 40.67 kB / 0.5345 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.173e-05/0.417, allocations: 14.61 kB / 0.5345 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002547/0.4173, allocations: 215.6 kB / 0.5347 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.4173, allocations: 6.156 kB / 0.5347 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.362e-05/0.4173, allocations: 5.938 kB / 0.5347 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.4175, allocations: 58.02 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.4175, allocations: 1.156 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.785e-06/0.4175, allocations: 0 / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.4175, allocations: 1 kB / 0.5348 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.097e-05/0.4176, allocations: 18.98 kB / 0.5348 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000352/0.4179, allocations: 290.9 kB / 0.535 GB, free: 9.73 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001626/0.4181, allocations: 62.52 kB / 0.5351 GB, free: 9.684 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.263e-05/0.4182, allocations: 17.45 kB / 0.5351 GB, free: 9.672 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.026e-05/0.4182, allocations: 5.172 kB / 0.5351 GB, free: 9.668 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001464/0.4184, allocations: 73.58 kB / 0.5352 GB, free: 9.598 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.4184, allocations: 0 / 0.5352 GB, free: 9.598 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005013/0.4189, allocations: 182.5 kB / 0.5354 GB, free: 9.488 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/0.4189, allocations: 56.77 kB / 0.5354 GB, free: 9.422 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000202/0.4191, allocations: 212 kB / 0.5356 GB, free: 9.27 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.4192, allocations: 27.08 kB / 0.5357 GB, free: 9.238 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.383e-05/0.4192, allocations: 105.6 kB / 0.5358 GB, free: 9.137 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.215e-05/0.4193, allocations: 23.98 kB / 0.5358 GB, free: 9.117 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.89e-05/0.4193, allocations: 23.2 kB / 0.5358 GB, free: 9.094 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.4195, allocations: 323 kB / 0.5361 GB, free: 8.773 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.6e-05/0.4195, allocations: 19 kB / 0.5361 GB, free: 8.766 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.998e-05/0.4196, allocations: 43.33 kB / 0.5362 GB, free: 8.73 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001324/0.4197, allocations: 63.83 kB / 0.5362 GB, free: 8.688 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.4198, allocations: 0 / 0.5362 GB, free: 8.688 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001879/0.4199, allocations: 108.1 kB / 0.5363 GB, free: 8.617 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.42, allocations: 5.5 kB / 0.5363 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.42, allocations: 3.984 kB / 0.5363 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.42, allocations: 1.375 kB / 0.5363 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.629e-05/0.4201, allocations: 12.97 kB / 0.5364 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.4201, allocations: 1.094 kB / 0.5364 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.407e-05/0.4201, allocations: 18.02 kB / 0.5364 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/0.4202, allocations: 2.281 kB / 0.5364 GB, free: 8.598 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 9.83e-05/0.4203, allocations: 127.9 kB / 0.5365 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.55e-05/0.4203, allocations: 14.41 kB / 0.5365 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.576e-05/0.4203, allocations: 22.8 kB / 0.5365 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.4203, allocations: 1.062 kB / 0.5365 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.4204, allocations: 0 / 0.5365 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.4204, allocations: 5.031 kB / 0.5365 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004593/0.4208, allocations: 395.7 kB / 0.5369 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.4208, allocations: 0 / 0.5369 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.996e-05/0.4209, allocations: 8.469 kB / 0.5369 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.4209, allocations: 3.938 kB / 0.5369 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/0.4209, allocations: 2.562 kB / 0.5369 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.4209, allocations: 0 / 0.5369 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/0.4209, allocations: 1.281 kB / 0.5369 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002453/0.4212, allocations: 220.9 kB / 0.5371 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.193e-05/0.4212, allocations: 83.78 kB / 0.5372 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.343e-05/0.4213, allocations: 6.344 kB / 0.5372 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.811e-05/0.4213, allocations: 1.969 kB / 0.5372 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.429e-05/0.4214, allocations: 11.98 kB / 0.5372 GB, free: 7.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.299e-05/0.4214, allocations: 2.469 kB / 0.5372 GB, free: 7.75 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001424/0.4215, allocations: 158.5 kB / 0.5374 GB, free: 7.641 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4215, allocations: 1.062 kB / 0.5374 GB, free: 7.641 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002487/0.4218, allocations: 21.09 kB / 0.5374 GB, free: 7.637 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00206/0.4239, allocations: 1.105 MB / 0.5385 GB, free: 6.77 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001777/0.424, allocations: 57.61 kB / 0.5385 GB, free: 6.746 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.4241, allocations: 1.125 kB / 0.5385 GB, free: 6.746 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.566e-05/0.4241, allocations: 29.31 kB / 0.5386 GB, free: 6.734 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003281/0.4245, allocations: 32.44 kB / 0.5386 GB, free: 6.719 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001822/0.4263, allocations: 1.689 MB / 0.5403 GB, free: 5.25 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000334/0.4267, allocations: 0.7065 MB / 0.5409 GB, free: 4.539 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.842e-05/0.4267, allocations: 22.66 kB / 0.541 GB, free: 4.527 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.714e-05/0.4268, allocations: 43.02 kB / 0.541 GB, free: 4.492 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4268, allocations: 0.9688 kB / 0.541 GB, free: 4.492 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02413/0.4509, allocations: 3.507 MB / 0.5444 GB, free: 2.617 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.031/8.482, allocations: 8.75 kB / 0.5444 GB, free: 2.613 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test24.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test24_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test24.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1)