Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order6test2.conf.json 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 4.0.0+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 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order6test2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order6test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order6test2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order6test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 98.03 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.585/1.585, allocations: 223.3 MB / 239.4 MB, free: 5.438 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.001283/0.001283, allocations: 176.5 kB / 290.6 MB, free: 2.109 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.6245/0.6245, allocations: 91.93 MB / 433.7 MB, free: 10.3 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004236/0.0004237, allocations: 12 kB / 0.5049 GB, free: 7.199 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4535/0.454, allocations: 72.45 MB / 0.5756 GB, free: 36.8 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order6test2): time 0.00468/0.4587, allocations: 5.867 MB / 0.5814 GB, free: 32.89 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003682/0.4624, allocations: 1.838 MB / 0.5832 GB, free: 31.59 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008039/0.4633, allocations: 10.59 kB / 0.5832 GB, free: 31.59 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004983/0.4638, allocations: 163.2 kB / 0.5833 GB, free: 31.52 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001678/0.4655, allocations: 0.6133 MB / 0.5839 GB, free: 31.12 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001161/0.4666, allocations: 0.5422 MB / 0.5845 GB, free: 30.83 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001216/0.4679, allocations: 1.28 MB / 0.5857 GB, free: 30.2 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003709/0.4682, allocations: 247.1 kB / 0.5859 GB, free: 30.09 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005914/0.4688, allocations: 0.4897 MB / 0.5864 GB, free: 29.87 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005966/0.4694, allocations: 0.6432 MB / 0.587 GB, free: 29.58 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001063/0.4696, allocations: 50.69 kB / 0.5871 GB, free: 29.58 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004412/0.47, allocations: 176 kB / 0.5873 GB, free: 29.55 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001588/0.4702, allocations: 210 kB / 0.5875 GB, free: 29.42 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000398/0.4706, allocations: 0.5494 MB / 0.588 GB, free: 29.05 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001065/0.4717, allocations: 1.344 MB / 0.5893 GB, free: 28.54 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.4717, allocations: 1.469 kB / 0.5893 GB, free: 28.54 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.4717, allocations: 0 / 0.5893 GB, free: 28.54 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.391e-05/0.4717, allocations: 2.25 kB / 0.5893 GB, free: 28.54 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.007848/0.4796, allocations: 2.289 MB / 0.5915 GB, free: 27.57 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.875e-05/0.4796, allocations: 9.531 kB / 0.5916 GB, free: 27.57 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003351/0.48, allocations: 118.1 kB / 0.5917 GB, free: 27.48 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005207/0.4852, allocations: 0.7698 MB / 0.5924 GB, free: 27.34 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001346/0.4866, allocations: 0.7478 MB / 0.5932 GB, free: 26.81 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003029/0.4869, allocations: 255.5 kB / 0.5934 GB, free: 26.6 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001615/0.4871, allocations: 74.22 kB / 0.5935 GB, free: 26.57 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002264/0.4893, allocations: 1.059 MB / 0.5945 GB, free: 26.2 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.4894, allocations: 0 / 0.5945 GB, free: 26.2 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.849e-05/0.4895, allocations: 25.47 kB / 0.5945 GB, free: 26.18 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.766e-05/0.4895, allocations: 19.69 kB / 0.5945 GB, free: 26.17 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002386/0.4919, allocations: 1.081 MB / 0.5956 GB, free: 25.84 MB / 430.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.005962/0.4978, allocations: 3.35 MB / 0.5989 GB, free: 23.93 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002268/0.5001, allocations: 1.432 MB / 0.6003 GB, free: 22.99 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001654/0.5018, allocations: 0.8002 MB / 0.601 GB, free: 22.7 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.562e-05/0.5019, allocations: 12.31 kB / 0.6011 GB, free: 22.7 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/0.5019, allocations: 38.84 kB / 0.6011 GB, free: 22.66 MB / 430.1 MB Notification: Performance of pre-optimization done (n=85): time 2.825e-06/0.502, allocations: 0.875 kB / 0.6011 GB, free: 22.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=85): time 0.03034/0.5323, allocations: 8.157 MB / 0.6091 GB, free: 21.25 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.559e-05/0.5324, allocations: 69.31 kB / 0.6091 GB, free: 21.18 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001435/0.5339, allocations: 0.8417 MB / 0.61 GB, free: 20.81 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000251/0.5341, allocations: 40.2 kB / 0.61 GB, free: 20.77 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003031/0.5344, allocations: 443.5 kB / 0.6104 GB, free: 20.41 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003251/0.5348, allocations: 312.8 kB / 0.6107 GB, free: 20.17 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001706/0.5349, allocations: 102.4 kB / 0.6108 GB, free: 20.11 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.444e-05/0.535, allocations: 345.3 kB / 0.6111 GB, free: 19.79 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001732/0.5368, allocations: 0.7709 MB / 0.6119 GB, free: 19.53 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001854/0.5386, allocations: 0.9 MB / 0.6128 GB, free: 19.16 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003478/0.5421, allocations: 1.639 MB / 0.6144 GB, free: 18.45 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.375e-06/0.5422, allocations: 1.703 kB / 0.6144 GB, free: 18.45 MB / 430.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01685/0.559, allocations: 5.187 MB / 0.6194 GB, free: 16.37 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.074e-05/0.5591, allocations: 10.02 kB / 0.6194 GB, free: 16.36 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.462e-05/0.5591, allocations: 4 kB / 0.6195 GB, free: 16.36 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007119/0.5663, allocations: 2.159 MB / 0.6216 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001049/0.5674, allocations: 195.7 kB / 0.6217 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0207/0.5881, allocations: 9.701 MB / 0.6312 GB, free: 4.172 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001836/0.5899, allocations: 202.9 kB / 0.6314 GB, free: 3.973 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001038/0.5901, allocations: 36 kB / 0.6314 GB, free: 3.938 MB / 430.1 MB 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 (106): * Single equations (assignments): 105 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.000444/0.5905, allocations: 225.6 kB / 0.6317 GB, free: 3.707 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001829/0.5907, allocations: 114.6 kB / 0.6318 GB, free: 3.594 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01372/0.6044, allocations: 4.798 MB / 0.6365 GB, free: 14.77 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.271e-05/0.6045, allocations: 8 kB / 0.6365 GB, free: 14.77 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.6045, allocations: 0 / 0.6365 GB, free: 14.77 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.971e-05/0.6046, allocations: 3.984 kB / 0.6365 GB, free: 14.76 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0174/0.622, allocations: 6.349 MB / 0.6427 GB, free: 8.277 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.911e-05/0.622, allocations: 4 kB / 0.6427 GB, free: 8.273 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007912/0.6228, allocations: 99.89 kB / 0.6428 GB, free: 8.176 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00686/0.6297, allocations: 2.057 MB / 0.6448 GB, free: 6.109 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002676/0.63, allocations: 16 kB / 0.6448 GB, free: 6.094 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02146/0.6515, allocations: 8.214 MB / 0.6528 GB, free: 13.73 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.6516, allocations: 0 / 0.6528 GB, free: 13.73 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.018/0.6696, allocations: 5.747 MB / 0.6584 GB, free: 7.965 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006362/0.6703, allocations: 203.6 kB / 0.6586 GB, free: 7.746 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005099/0.6708, allocations: 19.94 kB / 0.6586 GB, free: 7.727 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001503/0.6724, allocations: 131.9 kB / 0.6588 GB, free: 7.598 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000839/0.6732, allocations: 196.6 kB / 0.659 GB, free: 7.406 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001653/0.6734, allocations: 24 kB / 0.659 GB, free: 7.383 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001084/0.6745, allocations: 0.5702 MB / 0.6595 GB, free: 6.801 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.6745, allocations: 0 / 0.6595 GB, free: 6.801 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001984/0.6765, allocations: 431.6 kB / 0.6599 GB, free: 6.379 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (order6Type2_1.delta,order6Type2_1.w,order6Type2_1.e1q,order6Type2_1.e1d,order6Type2_1.e2q,order6Type2_1.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 (52): * Single equations (assignments): 51 * 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.01799/0.6945, allocations: 6.331 MB / 0.6661 GB, free: 16 kB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00848/0.703, allocations: 2.666 MB / 0.6687 GB, free: 13.33 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/0.7031, allocations: 0 / 0.6687 GB, free: 13.33 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005852/0.709, allocations: 1.717 MB / 0.6704 GB, free: 11.61 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001554/0.7106, allocations: 83.38 kB / 0.6705 GB, free: 11.52 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04735/0.7579, allocations: 17.74 MB / 0.6878 GB, free: 9.43 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008026/0.7588, allocations: 1.045 MB / 0.6888 GB, free: 8.359 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005355/0.7593, allocations: 82.44 kB / 0.6889 GB, free: 8.273 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006912/0.76, allocations: 383.3 kB / 0.6893 GB, free: 7.898 MB / 494.1 MB Notification: Performance of SimCode: time 9.92e-07/0.7601, allocations: 0 / 0.6893 GB, free: 7.898 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07715/0.8372, allocations: 29.09 MB / 0.7177 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003061/0.8376, allocations: 209.8 kB / 0.7179 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.816/3.653, allocations: 0 / 0.7179 GB, free: 10.73 MB / 0.5137 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order6test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order6test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order6test2.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe 2>&1)