Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order5test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order5test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order5test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order5test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order5test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07401/0.07401, allocations: 12.59 MB / 28.22 MB, free: 0.7344 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009684/0.0009684, allocations: 111.4 kB / 31.83 MB, free: 3.879 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.249/1.249, allocations: 205.1 MB / 240.4 MB, free: 12.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 188.5 kB / 290.7 MB, free: 13.38 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4221/0.4221, allocations: 78.51 MB / 419.3 MB, free: 11.24 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002502/0.002502, allocations: 139.9 kB / 0.5554 GB, free: 28.7 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1167, allocations: 68.13 MB / 0.6219 GB, free: 15.93 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order5test2): time 0.005785/0.1226, allocations: 5.888 MB / 0.6277 GB, free: 10.01 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003188/0.1258, allocations: 1.725 MB / 0.6293 GB, free: 8.277 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004437/0.1263, allocations: 8 kB / 0.6294 GB, free: 8.27 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004352/0.1267, allocations: 218.2 kB / 0.6296 GB, free: 8.055 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001501/0.1283, allocations: 0.7353 MB / 0.6303 GB, free: 7.32 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001148/0.1294, allocations: 0.5838 MB / 0.6308 GB, free: 6.742 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001154/0.1306, allocations: 1.277 MB / 0.6321 GB, free: 5.461 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004031/0.131, allocations: 279 kB / 0.6324 GB, free: 5.176 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005702/0.1316, allocations: 0.5329 MB / 0.6329 GB, free: 4.641 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006395/0.1322, allocations: 0.6611 MB / 0.6335 GB, free: 3.977 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001301/0.1324, allocations: 92 kB / 0.6336 GB, free: 3.887 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004295/0.1328, allocations: 227.9 kB / 0.6338 GB, free: 3.664 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001824/0.133, allocations: 246.9 kB / 0.6341 GB, free: 3.422 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000422/0.1334, allocations: 0.5631 MB / 0.6346 GB, free: 2.855 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001236/0.1347, allocations: 1.383 MB / 0.636 GB, free: 1.469 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.1347, allocations: 4 kB / 0.636 GB, free: 1.465 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1347, allocations: 0 / 0.636 GB, free: 1.465 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.462e-05/0.1347, allocations: 0 / 0.636 GB, free: 1.465 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.007005/0.1417, allocations: 2.372 MB / 0.6383 GB, free: 15.04 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.1418, allocations: 11.98 kB / 0.6383 GB, free: 15.03 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001246/0.1419, allocations: 118.4 kB / 0.6384 GB, free: 14.9 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004688/0.1466, allocations: 0.7751 MB / 0.6392 GB, free: 14.12 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001109/0.1477, allocations: 0.7128 MB / 0.6399 GB, free: 13.37 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000256/0.148, allocations: 248.2 kB / 0.6401 GB, free: 13.09 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001408/0.1481, allocations: 71.91 kB / 0.6402 GB, free: 13.02 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001913/0.1501, allocations: 0.9794 MB / 0.6411 GB, free: 12.04 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/0.1501, allocations: 0 / 0.6411 GB, free: 12.04 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.82e-05/0.1502, allocations: 24 kB / 0.6411 GB, free: 12.01 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.347e-05/0.1502, allocations: 16 kB / 0.6412 GB, free: 12 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001977/0.1522, allocations: 0.9838 MB / 0.6421 GB, free: 11.01 MB / 462.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004973/0.1572, allocations: 3.201 MB / 0.6453 GB, free: 7.652 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001864/0.159, allocations: 1.329 MB / 0.6466 GB, free: 6.207 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001306/0.1604, allocations: 0.711 MB / 0.6472 GB, free: 5.496 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001145/0.1605, allocations: 16.98 kB / 0.6473 GB, free: 5.477 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.059e-05/0.1605, allocations: 43.56 kB / 0.6473 GB, free: 5.426 MB / 462.1 MB Notification: Performance of pre-optimization done (n=84): time 3.256e-06/0.1605, allocations: 0 / 0.6473 GB, free: 5.426 MB / 462.1 MB Notification: Performance of matching and sorting (n=84): time 0.02298/0.1835, allocations: 6.383 MB / 0.6535 GB, free: 15.01 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.486e-05/0.1836, allocations: 68.28 kB / 0.6536 GB, free: 14.93 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009984/0.1846, allocations: 0.7987 MB / 0.6544 GB, free: 14.11 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001793/0.1848, allocations: 41.7 kB / 0.6544 GB, free: 14.06 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002976/0.1851, allocations: 432.4 kB / 0.6548 GB, free: 13.63 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003646/0.1855, allocations: 299.7 kB / 0.6551 GB, free: 13.33 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003861/0.1859, allocations: 198.8 kB / 0.6553 GB, free: 13.13 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.186, allocations: 341.9 kB / 0.6556 GB, free: 12.79 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001379/0.1874, allocations: 0.6858 MB / 0.6563 GB, free: 12.11 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001435/0.1889, allocations: 0.8032 MB / 0.6571 GB, free: 11.27 MB / 478.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: $DER.order5Type1_Inputs_Outputs.delta = 0.0 (order5Type1_Inputs_Outputs.w_b * (-1.0 + $START.order5Type1_Inputs_Outputs.w) = 0.0) Notification: Performance of analyzeInitialSystem (initialization): time 0.003026/0.1919, allocations: 1.562 MB / 0.6586 GB, free: 9.66 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.774e-06/0.1919, allocations: 4 kB / 0.6586 GB, free: 9.656 MB / 478.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.01301/0.2049, allocations: 4.2 MB / 0.6627 GB, free: 5.438 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/0.205, allocations: 4 kB / 0.6627 GB, free: 5.434 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.205, allocations: 4 kB / 0.6627 GB, free: 5.43 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006693/0.2117, allocations: 1.869 MB / 0.6646 GB, free: 3.559 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008588/0.2126, allocations: 175.7 kB / 0.6647 GB, free: 3.387 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02108/0.2337, allocations: 9.55 MB / 0.674 GB, free: 9.688 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001311/0.235, allocations: 155 kB / 0.6742 GB, free: 9.535 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001523/0.2352, allocations: 47.92 kB / 0.6742 GB, free: 9.488 MB / 494.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $DER.order5Type1_Inputs_Outputs.delta = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(24,15)} Notification: Performance of prepare postOptimizeDAE: time 0.0004157/0.2356, allocations: 217.7 kB / 0.6744 GB, free: 9.266 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002103/0.2359, allocations: 106.6 kB / 0.6745 GB, free: 9.16 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01155/0.2474, allocations: 3.88 MB / 0.6783 GB, free: 5.262 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.646e-05/0.2475, allocations: 12 kB / 0.6783 GB, free: 5.25 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.2475, allocations: 0 / 0.6783 GB, free: 5.25 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.668e-05/0.2475, allocations: 3.984 kB / 0.6784 GB, free: 5.246 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01327/0.2608, allocations: 5.353 MB / 0.6836 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.07e-05/0.2608, allocations: 3.938 kB / 0.6836 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000558/0.2614, allocations: 91.89 kB / 0.6837 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005453/0.2669, allocations: 1.745 MB / 0.6854 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001505/0.267, allocations: 19.98 kB / 0.6854 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01727/0.2843, allocations: 8.06 MB / 0.6933 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.2843, allocations: 0 / 0.6933 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01323/0.2976, allocations: 4.724 MB / 0.6979 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003042/0.2979, allocations: 183.7 kB / 0.6981 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002355/0.2982, allocations: 19.94 kB / 0.6981 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009802/0.2991, allocations: 87.89 kB / 0.6982 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006094/0.2998, allocations: 204.7 kB / 0.6984 GB, free: 436 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.289e-05/0.2999, allocations: 16 kB / 0.6984 GB, free: 420 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007055/0.3006, allocations: 0.5421 MB / 0.6989 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3006, allocations: 4 kB / 0.6989 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001191/0.3018, allocations: 415.6 kB / 0.6993 GB, free: 15.45 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (order5Type1_Inputs_Outputs.delta,order5Type1_Inputs_Outputs.w,order5Type1_Inputs_Outputs.e1q,order5Type1_Inputs_Outputs.e1d,order5Type1_Inputs_Outputs.e2d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0132/0.315, allocations: 5.288 MB / 0.7045 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006238/0.3213, allocations: 2.387 MB / 0.7068 GB, free: 7.727 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.3213, allocations: 0 / 0.7068 GB, free: 7.727 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004071/0.3254, allocations: 1.534 MB / 0.7083 GB, free: 6.176 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007515/0.3261, allocations: 82.72 kB / 0.7084 GB, free: 6.094 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2707/0.5969, allocations: 14.61 MB / 0.7226 GB, free: 83.82 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006986/0.5976, allocations: 1.036 MB / 0.7236 GB, free: 83.12 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004741/0.5981, allocations: 76.12 kB / 0.7237 GB, free: 83.11 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005197/0.5987, allocations: 385 kB / 0.7241 GB, free: 82.89 MB / 0.5137 GB Notification: Performance of SimCode: time 1.022e-06/0.5987, allocations: 0 / 0.7241 GB, free: 82.89 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06144/0.6601, allocations: 32.06 MB / 0.7554 GB, free: 63.77 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.87/15.53, allocations: 13.53 kB / 0.7554 GB, free: 63.77 MB / 0.5137 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order5test2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order5test2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order5test2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order5test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order5test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order5test2.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order5test2.pipe 2>&1)