Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order6test2.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.Order6test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order6test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order6test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order6test2",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.1085/0.1085, allocations: 12.6 MB / 28.1 MB, free: 184 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001128, allocations: 107.5 kB / 31.7 MB, free: 3.492 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.261/1.261, allocations: 205.1 MB / 240.3 MB, free: 12.43 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.001233/0.001233, allocations: 196.4 kB / 290.6 MB, free: 13.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4187/0.4187, allocations: 78.5 MB / 419.2 MB, free: 11.36 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.005046/0.005047, allocations: 135.8 kB / 499.9 MB, free: 10.73 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2778/0.2829, allocations: 68.11 MB / 0.5547 GB, free: 32.73 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order6test2): time 0.005517/0.2885, allocations: 5.997 MB / 0.5605 GB, free: 28.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002934/0.2914, allocations: 1.762 MB / 0.5623 GB, free: 27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004372/0.2919, allocations: 17.91 kB / 0.5623 GB, free: 26.99 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004034/0.2923, allocations: 214.8 kB / 0.5625 GB, free: 26.81 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00138/0.2938, allocations: 0.6974 MB / 0.5632 GB, free: 26.24 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001122/0.2949, allocations: 0.5795 MB / 0.5637 GB, free: 25.82 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001203/0.2961, allocations: 1.338 MB / 0.565 GB, free: 25.01 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003951/0.2965, allocations: 285 kB / 0.5653 GB, free: 24.86 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005429/0.2971, allocations: 0.5519 MB / 0.5658 GB, free: 24.52 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005763/0.2976, allocations: 0.694 MB / 0.5665 GB, free: 24.04 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001437/0.2978, allocations: 98.34 kB / 0.5666 GB, free: 24.04 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004391/0.2982, allocations: 231.6 kB / 0.5668 GB, free: 23.98 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001516/0.2984, allocations: 267.7 kB / 0.5671 GB, free: 23.76 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003755/0.2988, allocations: 0.5698 MB / 0.5676 GB, free: 23.33 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00114/0.2999, allocations: 1.422 MB / 0.569 GB, free: 22.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3, allocations: 0 / 0.569 GB, free: 22.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.3, allocations: 0 / 0.569 GB, free: 22.27 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.508e-05/0.3, allocations: 1.094 kB / 0.569 GB, free: 22.27 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.007838/0.3078, allocations: 2.448 MB / 0.5714 GB, free: 20.76 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.3079, allocations: 13.64 kB / 0.5714 GB, free: 20.75 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000131/0.308, allocations: 113.1 kB / 0.5715 GB, free: 20.66 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004946/0.313, allocations: 0.7624 MB / 0.5723 GB, free: 20.34 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009958/0.314, allocations: 0.744 MB / 0.573 GB, free: 19.72 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002434/0.3142, allocations: 252 kB / 0.5733 GB, free: 19.49 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001415/0.3144, allocations: 74.38 kB / 0.5733 GB, free: 19.46 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001903/0.3163, allocations: 0.9824 MB / 0.5743 GB, free: 18.9 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/0.3163, allocations: 0 / 0.5743 GB, free: 18.9 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.72e-05/0.3164, allocations: 26.69 kB / 0.5743 GB, free: 18.88 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.404e-05/0.3164, allocations: 15.75 kB / 0.5743 GB, free: 18.88 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00199/0.3184, allocations: 0.995 MB / 0.5753 GB, free: 18.24 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.004654/0.3231, allocations: 3.281 MB / 0.5785 GB, free: 14.8 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001738/0.3249, allocations: 1.355 MB / 0.5798 GB, free: 13.33 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001255/0.3261, allocations: 0.7188 MB / 0.5805 GB, free: 12.61 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.937e-05/0.3262, allocations: 16.97 kB / 0.5805 GB, free: 12.59 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.704e-05/0.3262, allocations: 39.56 kB / 0.5806 GB, free: 12.54 MB / 398.1 MB Notification: Performance of pre-optimization done (n=85): time 2.965e-06/0.3263, allocations: 0 / 0.5806 GB, free: 12.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=85): time 0.02446/0.3507, allocations: 6.563 MB / 0.587 GB, free: 5.949 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.446e-05/0.3508, allocations: 64.34 kB / 0.587 GB, free: 5.871 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009461/0.3518, allocations: 0.8468 MB / 0.5879 GB, free: 5 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001376/0.3519, allocations: 41.7 kB / 0.5879 GB, free: 4.953 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002103/0.3521, allocations: 440.5 kB / 0.5883 GB, free: 4.516 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002329/0.3524, allocations: 315.5 kB / 0.5886 GB, free: 4.203 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003464/0.3527, allocations: 194.8 kB / 0.5888 GB, free: 4.004 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 5.618e-05/0.3528, allocations: 349.9 kB / 0.5892 GB, free: 3.656 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001377/0.3542, allocations: 0.6936 MB / 0.5898 GB, free: 2.965 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001398/0.3556, allocations: 0.8228 MB / 0.5906 GB, free: 2.109 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002685/0.3583, allocations: 1.49 MB / 0.5921 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.3583, allocations: 0 / 0.5921 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01457/0.3729, allocations: 4.269 MB / 0.5963 GB, free: 12.31 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.625e-05/0.3729, allocations: 11.92 kB / 0.5963 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/0.3729, allocations: 4 kB / 0.5963 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007269/0.3802, allocations: 1.85 MB / 0.5981 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009532/0.3812, allocations: 187.7 kB / 0.5983 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02264/0.4038, allocations: 9.473 MB / 0.6075 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001582/0.4054, allocations: 163 kB / 0.6077 GB, free: 496 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001029/0.4056, allocations: 43.92 kB / 0.6077 GB, free: 452 kB / 414.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.0003879/0.406, allocations: 221.6 kB / 0.6079 GB, free: 224 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002009/0.4062, allocations: 110.6 kB / 0.608 GB, free: 112 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01333/0.4195, allocations: 3.884 MB / 0.6118 GB, free: 12.2 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.327e-06/0.4195, allocations: 8 kB / 0.6118 GB, free: 12.2 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.4195, allocations: 0 / 0.6118 GB, free: 12.2 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/0.4196, allocations: 7.922 kB / 0.6118 GB, free: 12.19 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01493/0.4345, allocations: 5.431 MB / 0.6171 GB, free: 6.617 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.4345, allocations: 0 / 0.6171 GB, free: 6.617 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006042/0.4351, allocations: 99.88 kB / 0.6172 GB, free: 6.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006091/0.4412, allocations: 1.757 MB / 0.619 GB, free: 4.758 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.937e-05/0.4414, allocations: 16 kB / 0.619 GB, free: 4.742 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01898/0.4604, allocations: 8.06 MB / 0.6268 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.4604, allocations: 8 kB / 0.6268 GB, free: 12.53 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01511/0.4755, allocations: 4.763 MB / 0.6315 GB, free: 7.738 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000359/0.4759, allocations: 195.6 kB / 0.6317 GB, free: 7.527 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001624/0.4761, allocations: 19.94 kB / 0.6317 GB, free: 7.508 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001054/0.4771, allocations: 95.89 kB / 0.6318 GB, free: 7.414 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005946/0.4777, allocations: 196.7 kB / 0.632 GB, free: 7.223 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.045e-05/0.4778, allocations: 27.94 kB / 0.632 GB, free: 7.195 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000709/0.4785, allocations: 0.5702 MB / 0.6326 GB, free: 6.613 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4785, allocations: 0 / 0.6326 GB, free: 6.613 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001132/0.4797, allocations: 427.6 kB / 0.633 GB, free: 6.195 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.01572/0.4954, allocations: 5.346 MB / 0.6382 GB, free: 0.8125 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007442/0.5029, allocations: 2.43 MB / 0.6406 GB, free: 14.36 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.5029, allocations: 0 / 0.6406 GB, free: 14.36 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004814/0.5077, allocations: 1.535 MB / 0.6421 GB, free: 12.81 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008284/0.5086, allocations: 83.33 kB / 0.6421 GB, free: 12.73 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03982/0.5484, allocations: 15.41 MB / 0.6572 GB, free: 12.98 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007191/0.5492, allocations: 1.045 MB / 0.6582 GB, free: 11.9 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004291/0.5496, allocations: 86.44 kB / 0.6583 GB, free: 11.81 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000538/0.5502, allocations: 399.2 kB / 0.6587 GB, free: 11.42 MB / 478.1 MB Notification: Performance of SimCode: time 9.52e-07/0.5502, allocations: 0 / 0.6587 GB, free: 11.42 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06187/0.6121, allocations: 32.13 MB / 0.69 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/12.32, allocations: 22.62 kB / 0.6901 GB, free: 11.32 MB / 0.4981 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order6test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order6test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order6test2.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe 2>&1)