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.001167/0.001167, 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.355/1.355, allocations: 222.9 MB / 239.3 MB, free: 4.617 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.001472/0.001472, allocations: 192.5 kB / 289.6 MB, free: 2.336 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5116/0.5116, allocations: 91.9 MB / 431.6 MB, free: 9.297 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001678/0.001678, allocations: 75.88 kB / 0.502 GB, free: 7.664 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3584/0.3601, allocations: 71.27 MB / 0.5716 GB, free: 36.83 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order6test2): time 0.005598/0.3658, allocations: 5.962 MB / 0.5774 GB, free: 33.39 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003049/0.3688, allocations: 1.799 MB / 0.5792 GB, free: 32.24 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004216/0.3693, allocations: 8.312 kB / 0.5792 GB, free: 32.24 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004402/0.3697, allocations: 211.4 kB / 0.5794 GB, free: 32.12 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001346/0.3711, allocations: 0.7064 MB / 0.5801 GB, free: 31.66 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00113/0.3722, allocations: 0.5783 MB / 0.5806 GB, free: 31.36 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001322/0.3736, allocations: 1.336 MB / 0.5819 GB, free: 30.7 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000347/0.3739, allocations: 285 kB / 0.5822 GB, free: 30.57 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005909/0.3745, allocations: 0.5513 MB / 0.5827 GB, free: 30.3 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006107/0.3751, allocations: 0.6948 MB / 0.5834 GB, free: 29.97 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001446/0.3753, allocations: 98.97 kB / 0.5835 GB, free: 29.97 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005077/0.3758, allocations: 232.2 kB / 0.5837 GB, free: 29.93 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002241/0.376, allocations: 264.2 kB / 0.584 GB, free: 29.75 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005176/0.3766, allocations: 0.5723 MB / 0.5845 GB, free: 29.38 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001399/0.378, allocations: 1.416 MB / 0.5859 GB, free: 28.72 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.378, allocations: 7.531 kB / 0.5859 GB, free: 28.72 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.378, allocations: 0.9375 kB / 0.5859 GB, free: 28.72 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.573e-05/0.378, allocations: 0 / 0.5859 GB, free: 28.72 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.0084/0.3864, allocations: 2.444 MB / 0.5883 GB, free: 27.63 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.3865, allocations: 9.562 kB / 0.5883 GB, free: 27.63 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000135/0.3866, allocations: 113.2 kB / 0.5884 GB, free: 27.55 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00494/0.3916, allocations: 0.7649 MB / 0.5892 GB, free: 27.39 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001218/0.3928, allocations: 0.7464 MB / 0.5899 GB, free: 26.87 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002799/0.3931, allocations: 253.8 kB / 0.5902 GB, free: 26.65 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001471/0.3933, allocations: 70.03 kB / 0.5902 GB, free: 26.62 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001947/0.3952, allocations: 0.9857 MB / 0.5912 GB, free: 26.26 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.777e-05/0.3953, allocations: 0 / 0.5912 GB, free: 26.26 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.751e-05/0.3954, allocations: 25.44 kB / 0.5912 GB, free: 26.24 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.563e-05/0.3954, allocations: 16.25 kB / 0.5912 GB, free: 26.24 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001982/0.3974, allocations: 0.9956 MB / 0.5922 GB, free: 25.92 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.005077/0.4025, allocations: 3.283 MB / 0.5954 GB, free: 24.01 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002114/0.4046, allocations: 1.351 MB / 0.5967 GB, free: 23.09 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001436/0.406, allocations: 0.7196 MB / 0.5974 GB, free: 22.81 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.098e-05/0.4061, allocations: 14.8 kB / 0.5974 GB, free: 22.8 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.4062, allocations: 50.03 kB / 0.5975 GB, free: 22.75 MB / 430.1 MB Notification: Performance of pre-optimization done (n=85): time 2.755e-06/0.4062, allocations: 0 / 0.5975 GB, free: 22.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=85): time 0.02734/0.4335, allocations: 6.556 MB / 0.6039 GB, free: 21.54 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.733e-05/0.4336, allocations: 69.73 kB / 0.604 GB, free: 21.46 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001506/0.4351, allocations: 0.8471 MB / 0.6048 GB, free: 21.09 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001723/0.4353, allocations: 41.36 kB / 0.6048 GB, free: 21.05 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003401/0.4357, allocations: 441.3 kB / 0.6052 GB, free: 20.7 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002877/0.436, allocations: 303.7 kB / 0.6055 GB, free: 20.46 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004009/0.4364, allocations: 205.5 kB / 0.6057 GB, free: 20.36 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.022e-05/0.4365, allocations: 347.7 kB / 0.6061 GB, free: 20.04 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001608/0.4381, allocations: 0.6964 MB / 0.6067 GB, free: 19.78 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001753/0.4398, allocations: 0.8151 MB / 0.6075 GB, free: 19.42 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003256/0.4431, allocations: 1.495 MB / 0.609 GB, free: 18.72 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.4431, allocations: 0 / 0.609 GB, free: 18.72 MB / 430.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01552/0.4586, allocations: 4.278 MB / 0.6132 GB, free: 17.68 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.42e-05/0.4587, allocations: 6.656 kB / 0.6132 GB, free: 17.68 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.873e-05/0.4587, allocations: 2.125 kB / 0.6132 GB, free: 17.68 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007103/0.4659, allocations: 1.852 MB / 0.615 GB, free: 16.87 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001025/0.4669, allocations: 182 kB / 0.6152 GB, free: 16.83 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02007/0.487, allocations: 9.478 MB / 0.6244 GB, free: 7.902 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001719/0.4887, allocations: 163 kB / 0.6246 GB, free: 7.742 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.794e-05/0.4888, allocations: 39.98 kB / 0.6246 GB, free: 7.703 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.0005309/0.4894, allocations: 222.2 kB / 0.6248 GB, free: 7.477 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002012/0.4896, allocations: 114.6 kB / 0.6249 GB, free: 7.363 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01172/0.5013, allocations: 3.884 MB / 0.6287 GB, free: 3.457 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/0.5013, allocations: 12 kB / 0.6287 GB, free: 3.445 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.5014, allocations: 0 / 0.6287 GB, free: 3.445 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/0.5014, allocations: 3.984 kB / 0.6287 GB, free: 3.441 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01348/0.5149, allocations: 5.435 MB / 0.634 GB, free: 13.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-05/0.5149, allocations: 3.984 kB / 0.634 GB, free: 13.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006039/0.5155, allocations: 95.89 kB / 0.6341 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005836/0.5214, allocations: 1.745 MB / 0.6358 GB, free: 12.02 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001058/0.5215, allocations: 20 kB / 0.6359 GB, free: 12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01856/0.54, allocations: 8.061 MB / 0.6437 GB, free: 3.797 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.5401, allocations: 7.938 kB / 0.6437 GB, free: 3.789 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01448/0.5546, allocations: 4.774 MB / 0.6484 GB, free: 14.99 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003894/0.555, allocations: 199.6 kB / 0.6486 GB, free: 14.77 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001565/0.5551, allocations: 16 kB / 0.6486 GB, free: 14.76 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009991/0.5562, allocations: 95.89 kB / 0.6487 GB, free: 14.66 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006231/0.5568, allocations: 196.7 kB / 0.6489 GB, free: 14.47 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.752e-05/0.5569, allocations: 20 kB / 0.6489 GB, free: 14.45 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007833/0.5576, allocations: 0.578 MB / 0.6495 GB, free: 13.86 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5577, allocations: 0 / 0.6495 GB, free: 13.86 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001278/0.5589, allocations: 423.6 kB / 0.6499 GB, free: 13.45 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.01479/0.5737, allocations: 5.342 MB / 0.6551 GB, free: 8.074 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007163/0.5809, allocations: 2.426 MB / 0.6575 GB, free: 5.633 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.5809, allocations: 3.938 kB / 0.6575 GB, free: 5.629 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004675/0.5856, allocations: 1.519 MB / 0.659 GB, free: 4.094 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008538/0.5865, allocations: 87.31 kB / 0.659 GB, free: 4.004 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03784/0.6243, allocations: 15.4 MB / 0.6741 GB, free: 4.254 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001112/0.6255, allocations: 1.037 MB / 0.6751 GB, free: 3.188 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004779/0.626, allocations: 86.42 kB / 0.6752 GB, free: 3.098 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007499/0.6268, allocations: 395.3 kB / 0.6755 GB, free: 2.715 MB / 478.1 MB Notification: Performance of SimCode: time 2.044e-06/0.6268, allocations: 0 / 0.6755 GB, free: 2.715 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07591/0.7027, allocations: 32.14 MB / 0.7069 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.68/13.38, allocations: 6.125 kB / 0.7069 GB, free: 2.695 MB / 0.4981 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)