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/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/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/package.mo): time 0.08946/0.08946, allocations: 12.2 MB / 27.15 MB, free: 1.156 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.0009805/0.0009805, allocations: 102.2 kB / 30.67 MB, free: 4.859 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.398/1.398, allocations: 205.4 MB / 239.5 MB, free: 10.71 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 181.1 kB / 290.6 MB, free: 8.105 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4483/0.4483, allocations: 78.51 MB / 420.1 MB, free: 6.559 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.0009311/0.0009312, allocations: 27.53 kB / 0.4895 GB, free: 37.79 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1411, allocations: 69.25 MB / 0.5571 GB, free: 8.719 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order5test2): time 0.005277/0.1464, allocations: 5.141 MB / 0.5621 GB, free: 3.555 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003542/0.15, allocations: 1.702 MB / 0.5638 GB, free: 1.844 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009536/0.151, allocations: 15.94 kB / 0.5638 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006933/0.1517, allocations: 146.9 kB / 0.564 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002249/0.1539, allocations: 0.6306 MB / 0.5646 GB, free: 1.055 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001357/0.1553, allocations: 490.5 kB / 0.565 GB, free: 0.582 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001896/0.1572, allocations: 0.8423 MB / 0.5659 GB, free: 15.74 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005441/0.1578, allocations: 219.2 kB / 0.5661 GB, free: 15.52 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009664/0.1588, allocations: 470.1 kB / 0.5665 GB, free: 15.05 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00106/0.1598, allocations: 0.5718 MB / 0.5671 GB, free: 14.48 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003258/0.1602, allocations: 48 kB / 0.5671 GB, free: 14.43 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008542/0.161, allocations: 163.8 kB / 0.5673 GB, free: 14.27 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004143/0.1615, allocations: 195.1 kB / 0.5675 GB, free: 14.08 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000578/0.1621, allocations: 197.1 kB / 0.5676 GB, free: 13.88 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001607/0.1637, allocations: 0.9781 MB / 0.5686 GB, free: 12.9 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.1637, allocations: 0 / 0.5686 GB, free: 12.9 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.1637, allocations: 0 / 0.5686 GB, free: 12.9 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.959e-05/0.1638, allocations: 0 / 0.5686 GB, free: 12.9 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.008026/0.1718, allocations: 2.236 MB / 0.5708 GB, free: 10.61 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.534e-05/0.1719, allocations: 11.98 kB / 0.5708 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003425/0.1722, allocations: 118.5 kB / 0.5709 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005028/0.1773, allocations: 0.7635 MB / 0.5717 GB, free: 9.711 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001347/0.1786, allocations: 0.6783 MB / 0.5723 GB, free: 8.992 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003171/0.179, allocations: 268.1 kB / 0.5726 GB, free: 8.691 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001516/0.1791, allocations: 72 kB / 0.5726 GB, free: 8.621 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002141/0.1813, allocations: 1.026 MB / 0.5736 GB, free: 7.59 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.1813, allocations: 0 / 0.5736 GB, free: 7.59 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.4e-05/0.1814, allocations: 35.98 kB / 0.5737 GB, free: 7.555 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.666e-05/0.1814, allocations: 16 kB / 0.5737 GB, free: 7.539 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002174/0.1836, allocations: 1.066 MB / 0.5747 GB, free: 6.473 MB / 398.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.005671/0.1893, allocations: 3.392 MB / 0.5781 GB, free: 2.898 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002071/0.1914, allocations: 1.401 MB / 0.5794 GB, free: 1.383 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.151e-05/0.1915, allocations: 16.98 kB / 0.5794 GB, free: 1.367 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/0.1915, allocations: 43.55 kB / 0.5795 GB, free: 1.316 MB / 398.1 MB Notification: Performance of pre-optimization done (n=84): time 2.234e-06/0.1915, allocations: 0 / 0.5795 GB, free: 1.316 MB / 398.1 MB Notification: Performance of matching and sorting (n=84): time 0.02607/0.2176, allocations: 7.892 MB / 0.5872 GB, free: 9.387 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.223e-05/0.2177, allocations: 60.41 kB / 0.5872 GB, free: 9.316 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001199/0.2189, allocations: 0.7986 MB / 0.588 GB, free: 8.492 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002379/0.2192, allocations: 37.7 kB / 0.5881 GB, free: 8.449 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003157/0.2195, allocations: 432.6 kB / 0.5885 GB, free: 8.02 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003387/0.2198, allocations: 307.6 kB / 0.5888 GB, free: 7.715 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.747e-05/0.2199, allocations: 24 kB / 0.5888 GB, free: 7.691 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.2201, allocations: 345.9 kB / 0.5891 GB, free: 7.348 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00153/0.2216, allocations: 0.7444 MB / 0.5898 GB, free: 6.602 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00162/0.2232, allocations: 0.8697 MB / 0.5907 GB, free: 5.699 MB / 414.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.001896/0.2251, allocations: 0.905 MB / 0.5916 GB, free: 4.781 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.311e-06/0.2252, allocations: 0 / 0.5916 GB, free: 4.781 MB / 414.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.01482/0.24, allocations: 5.114 MB / 0.5966 GB, free: 15.65 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.609e-05/0.2401, allocations: 8 kB / 0.5966 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/0.2401, allocations: 0 / 0.5966 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007453/0.2475, allocations: 2.205 MB / 0.5987 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009593/0.2485, allocations: 179.9 kB / 0.5989 GB, free: 13.26 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02329/0.2719, allocations: 10.27 MB / 0.6089 GB, free: 2.859 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001601/0.2735, allocations: 203 kB / 0.6091 GB, free: 2.66 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001317/0.2736, allocations: 35.98 kB / 0.6092 GB, free: 2.625 MB / 430.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {24 15} Notification: Performance of prepare postOptimizeDAE: time 0.0005062/0.2742, allocations: 221.7 kB / 0.6094 GB, free: 2.398 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002018/0.2744, allocations: 106.7 kB / 0.6095 GB, free: 2.293 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01367/0.288, allocations: 4.782 MB / 0.6141 GB, free: 13.49 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.721e-05/0.2881, allocations: 8 kB / 0.6141 GB, free: 13.48 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.2881, allocations: 0 / 0.6141 GB, free: 13.48 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.683e-05/0.2881, allocations: 11.91 kB / 0.6142 GB, free: 13.47 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0156/0.3038, allocations: 6.255 MB / 0.6203 GB, free: 7.074 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.555e-05/0.3038, allocations: 3.953 kB / 0.6203 GB, free: 7.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006791/0.3045, allocations: 103.9 kB / 0.6204 GB, free: 6.969 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00646/0.311, allocations: 2.057 MB / 0.6224 GB, free: 4.906 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001703/0.3112, allocations: 16 kB / 0.6224 GB, free: 4.891 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01928/0.3305, allocations: 8.64 MB / 0.6308 GB, free: 12.1 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.3306, allocations: 0 / 0.6308 GB, free: 12.1 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01523/0.3458, allocations: 5.681 MB / 0.6364 GB, free: 6.398 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003676/0.3462, allocations: 195.6 kB / 0.6366 GB, free: 6.188 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000149/0.3464, allocations: 19.95 kB / 0.6366 GB, free: 6.168 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009958/0.3474, allocations: 131.9 kB / 0.6367 GB, free: 6.039 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005787/0.348, allocations: 204.6 kB / 0.6369 GB, free: 5.84 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-05/0.3481, allocations: 20.12 kB / 0.6369 GB, free: 5.82 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006394/0.3487, allocations: 0.546 MB / 0.6375 GB, free: 5.262 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3487, allocations: 0 / 0.6375 GB, free: 5.262 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001349/0.3501, allocations: 419.5 kB / 0.6379 GB, free: 4.852 MB / 462.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0156/0.3657, allocations: 6.259 MB / 0.644 GB, free: 14.56 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006763/0.3725, allocations: 2.64 MB / 0.6465 GB, free: 11.91 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.3725, allocations: 4 kB / 0.6466 GB, free: 11.9 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004784/0.3773, allocations: 1.701 MB / 0.6482 GB, free: 10.2 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007073/0.378, allocations: 63.34 kB / 0.6483 GB, free: 10.13 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004326/0.3824, allocations: 4.026 MB / 0.6522 GB, free: 6.023 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006002/0.383, allocations: 1.057 MB / 0.6532 GB, free: 4.938 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0002862/0.3833, allocations: 82.3 kB / 0.6533 GB, free: 4.855 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004811/0.3838, allocations: 379.3 kB / 0.6537 GB, free: 4.484 MB / 478.1 MB Notification: Performance of SimCode: time 1.273e-06/0.3838, allocations: 0 / 0.6537 GB, free: 4.484 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3155/0.6993, allocations: 27.85 MB / 0.6809 GB, free: 89.44 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001323/0.6995, allocations: 192 kB / 0.6811 GB, free: 89.2 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.475/3.175, allocations: 0 / 0.6811 GB, free: 89.2 MB / 478.1 MB (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/linux/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) Environment - environmentSimulation: