Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL_Tests_Machines_PSAT_Order6test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order6test2,fileNamePrefix="OpenIPSL_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.001301/0.001301, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 222.9 MB / 239.2 MB, free: 4.602 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.001786/0.001786, allocations: 188.5 kB / 289.6 MB, free: 2.316 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5155/0.5155, allocations: 78.52 MB / 418.2 MB, free: 3.285 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002434/0.002434, allocations: 72.17 kB / 497.6 MB, free: 6.332 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1682/0.1707, allocations: 68.18 MB / 0.5525 GB, free: 2.109 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order6test2): time 0.284/0.4547, allocations: 5.936 MB / 0.5583 GB, free: 36.31 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003355/0.4581, allocations: 1.793 MB / 0.56 GB, free: 35.78 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005008/0.4587, allocations: 11.81 kB / 0.56 GB, free: 35.78 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004946/0.4592, allocations: 209.5 kB / 0.5602 GB, free: 35.77 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001483/0.4607, allocations: 0.7063 MB / 0.5609 GB, free: 35.63 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001098/0.4618, allocations: 0.5741 MB / 0.5615 GB, free: 35.55 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001143/0.463, allocations: 1.334 MB / 0.5628 GB, free: 35.48 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003896/0.4634, allocations: 270.9 kB / 0.563 GB, free: 35.44 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005846/0.464, allocations: 0.5579 MB / 0.5636 GB, free: 35.29 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006451/0.4646, allocations: 0.6951 MB / 0.5643 GB, free: 35.11 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001402/0.4648, allocations: 97.28 kB / 0.5644 GB, free: 35.11 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004282/0.4652, allocations: 240 kB / 0.5646 GB, free: 35.1 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001983/0.4654, allocations: 263.2 kB / 0.5648 GB, free: 35.03 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004241/0.4658, allocations: 0.5703 MB / 0.5654 GB, free: 34.82 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001243/0.4671, allocations: 1.416 MB / 0.5668 GB, free: 34.48 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.4671, allocations: 1.562 kB / 0.5668 GB, free: 34.48 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4671, allocations: 2.219 kB / 0.5668 GB, free: 34.48 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.666e-05/0.4671, allocations: 0 / 0.5668 GB, free: 34.48 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.007491/0.4746, allocations: 2.442 MB / 0.5692 GB, free: 33.64 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/0.4747, allocations: 11.41 kB / 0.5692 GB, free: 33.64 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000156/0.4749, allocations: 117.4 kB / 0.5693 GB, free: 33.61 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004639/0.4795, allocations: 0.7656 MB / 0.57 GB, free: 33.52 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001083/0.4806, allocations: 0.7452 MB / 0.5708 GB, free: 33.15 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002755/0.4809, allocations: 251.6 kB / 0.571 GB, free: 32.96 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001437/0.481, allocations: 73.94 kB / 0.5711 GB, free: 32.96 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001855/0.4829, allocations: 0.9847 MB / 0.572 GB, free: 32.9 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.4829, allocations: 1.188 kB / 0.572 GB, free: 32.9 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.965e-05/0.483, allocations: 24.38 kB / 0.5721 GB, free: 32.9 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.594e-05/0.4831, allocations: 18.41 kB / 0.5721 GB, free: 32.9 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001945/0.485, allocations: 0.9911 MB / 0.573 GB, free: 32.89 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.004808/0.4898, allocations: 3.286 MB / 0.5763 GB, free: 31.91 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001897/0.4917, allocations: 1.358 MB / 0.5776 GB, free: 31.14 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001353/0.4931, allocations: 0.722 MB / 0.5783 GB, free: 30.86 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.714e-05/0.4932, allocations: 19.84 kB / 0.5783 GB, free: 30.85 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.641e-05/0.4932, allocations: 40.06 kB / 0.5783 GB, free: 30.8 MB / 430.1 MB Notification: Performance of pre-optimization done (n=85): time 4.158e-06/0.4932, allocations: 3.547 kB / 0.5783 GB, free: 30.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=85): time 0.02538/0.5186, allocations: 6.55 MB / 0.5847 GB, free: 29.59 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.736e-05/0.5188, allocations: 64.78 kB / 0.5848 GB, free: 29.52 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001539/0.5203, allocations: 0.8472 MB / 0.5856 GB, free: 29.15 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001597/0.5205, allocations: 49.7 kB / 0.5857 GB, free: 29.1 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003509/0.5208, allocations: 439.9 kB / 0.5861 GB, free: 28.75 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003475/0.5212, allocations: 306.7 kB / 0.5864 GB, free: 28.51 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004394/0.5216, allocations: 200.8 kB / 0.5866 GB, free: 28.41 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.5218, allocations: 345.8 kB / 0.5869 GB, free: 28.09 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001698/0.5235, allocations: 0.6935 MB / 0.5876 GB, free: 27.84 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001624/0.5251, allocations: 0.8182 MB / 0.5884 GB, free: 27.47 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003286/0.5284, allocations: 1.492 MB / 0.5898 GB, free: 26.78 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.085e-06/0.5284, allocations: 1.031 kB / 0.5899 GB, free: 26.78 MB / 430.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01563/0.544, allocations: 4.265 MB / 0.594 GB, free: 25.75 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.771e-05/0.5441, allocations: 6.375 kB / 0.594 GB, free: 25.75 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/0.5442, allocations: 6.375 kB / 0.594 GB, free: 25.74 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007295/0.5515, allocations: 1.857 MB / 0.5958 GB, free: 25.41 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001046/0.5525, allocations: 184.8 kB / 0.596 GB, free: 25.4 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02298/0.5755, allocations: 9.469 MB / 0.6053 GB, free: 20.92 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001814/0.5774, allocations: 161.7 kB / 0.6054 GB, free: 20.85 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001319/0.5775, allocations: 37.78 kB / 0.6055 GB, free: 20.84 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.0004501/0.578, allocations: 227.3 kB / 0.6057 GB, free: 20.65 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002303/0.5782, allocations: 109.4 kB / 0.6058 GB, free: 20.59 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01298/0.5912, allocations: 3.884 MB / 0.6096 GB, free: 19.15 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.505e-05/0.5913, allocations: 9 kB / 0.6096 GB, free: 19.15 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.5913, allocations: 0 / 0.6096 GB, free: 19.15 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.03e-05/0.5913, allocations: 9.703 kB / 0.6096 GB, free: 19.14 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01373/0.605, allocations: 5.435 MB / 0.6149 GB, free: 14.74 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.198e-06/0.6051, allocations: 3.938 kB / 0.6149 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005787/0.6057, allocations: 95.88 kB / 0.615 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005296/0.611, allocations: 1.754 MB / 0.6167 GB, free: 12.89 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001106/0.6111, allocations: 16 kB / 0.6167 GB, free: 12.87 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01608/0.6272, allocations: 8.061 MB / 0.6246 GB, free: 4.668 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.6273, allocations: 5.062 kB / 0.6246 GB, free: 4.664 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01328/0.6405, allocations: 4.767 MB / 0.6292 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005693/0.6411, allocations: 191.6 kB / 0.6294 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001613/0.6413, allocations: 16 kB / 0.6294 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001026/0.6423, allocations: 92.45 kB / 0.6295 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006514/0.643, allocations: 204.7 kB / 0.6297 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-05/0.6431, allocations: 20 kB / 0.6298 GB, free: 15.34 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007504/0.6438, allocations: 0.5741 MB / 0.6303 GB, free: 14.75 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.6439, allocations: 0 / 0.6303 GB, free: 14.75 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0013/0.6452, allocations: 435.5 kB / 0.6307 GB, free: 14.32 MB / 446.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.0152/0.6604, allocations: 5.338 MB / 0.6359 GB, free: 8.953 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007387/0.6678, allocations: 2.426 MB / 0.6383 GB, free: 6.52 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.6678, allocations: 3.938 kB / 0.6383 GB, free: 6.516 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004728/0.6726, allocations: 1.53 MB / 0.6398 GB, free: 4.977 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/0.6736, allocations: 84.58 kB / 0.6399 GB, free: 4.891 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04122/0.7148, allocations: 15.41 MB / 0.6549 GB, free: 5.188 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008589/0.7157, allocations: 1.041 MB / 0.6559 GB, free: 4.117 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004564/0.7162, allocations: 78.45 kB / 0.656 GB, free: 4.035 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006327/0.7169, allocations: 395.3 kB / 0.6564 GB, free: 3.648 MB / 462.1 MB Notification: Performance of SimCode: time 6.61e-07/0.7169, allocations: 0 / 0.6564 GB, free: 3.648 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06952/0.7864, allocations: 32.14 MB / 0.6878 GB, free: 3.797 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.2/13.99, allocations: 7.375 kB / 0.6878 GB, free: 3.793 MB / 494.1 MB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order6test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order6test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order6test2.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe 2>&1)