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/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.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/package.mo): time 0.1003/0.1003, allocations: 12.2 MB / 27.43 MB, free: 1.387 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.00118/0.00118, allocations: 119.4 kB / 30.94 MB, free: 4.66 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.579/1.579, allocations: 205.1 MB / 239.4 MB, free: 10.93 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.001564/0.001564, allocations: 184.6 kB / 289.6 MB, free: 15.85 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.5047/0.5047, allocations: 78.51 MB / 418.1 MB, free: 31.77 MB / 318.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.004561/0.004561, allocations: 135.8 kB / 498.5 MB, free: 448 kB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3951/0.3997, allocations: 68.04 MB / 0.5533 GB, free: 37.96 MB / 414.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order6test2): time 0.005602/0.4053, allocations: 6.338 MB / 0.5595 GB, free: 33.32 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003064/0.4084, allocations: 1.807 MB / 0.5612 GB, free: 32.02 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004722/0.4089, allocations: 11.75 kB / 0.5612 GB, free: 32.02 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004725/0.4094, allocations: 164.8 kB / 0.5614 GB, free: 31.96 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001324/0.4107, allocations: 0.6202 MB / 0.562 GB, free: 31.55 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00111/0.4118, allocations: 0.5377 MB / 0.5625 GB, free: 31.25 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001001/0.4128, allocations: 1.332 MB / 0.5638 GB, free: 30.58 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003688/0.4132, allocations: 281.4 kB / 0.5641 GB, free: 30.45 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005287/0.4138, allocations: 0.5576 MB / 0.5646 GB, free: 30.18 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005835/0.4143, allocations: 0.6901 MB / 0.5653 GB, free: 29.84 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001234/0.4145, allocations: 98.62 kB / 0.5654 GB, free: 29.84 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003945/0.4149, allocations: 242.9 kB / 0.5656 GB, free: 29.79 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001863/0.4151, allocations: 257.6 kB / 0.5659 GB, free: 29.62 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004006/0.4155, allocations: 0.5731 MB / 0.5664 GB, free: 29.25 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001087/0.4166, allocations: 1.424 MB / 0.5678 GB, free: 28.59 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.4166, allocations: 0 / 0.5678 GB, free: 28.59 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4166, allocations: 0 / 0.5678 GB, free: 28.59 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.292e-05/0.4166, allocations: 0 / 0.5678 GB, free: 28.59 MB / 414.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.007185/0.4238, allocations: 2.44 MB / 0.5702 GB, free: 27.5 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.4239, allocations: 14.39 kB / 0.5702 GB, free: 27.49 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001354/0.424, allocations: 113.9 kB / 0.5703 GB, free: 27.41 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004543/0.4286, allocations: 0.7666 MB / 0.5711 GB, free: 27.25 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000885/0.4295, allocations: 0.7497 MB / 0.5718 GB, free: 26.73 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002264/0.4297, allocations: 249.4 kB / 0.5721 GB, free: 26.51 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001277/0.4298, allocations: 69.28 kB / 0.5721 GB, free: 26.49 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001781/0.4316, allocations: 0.9823 MB / 0.5731 GB, free: 26.12 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/0.4316, allocations: 0 / 0.5731 GB, free: 26.12 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.689e-05/0.4317, allocations: 29.16 kB / 0.5731 GB, free: 26.11 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.407e-05/0.4318, allocations: 20.03 kB / 0.5731 GB, free: 26.1 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001871/0.4336, allocations: 0.989 MB / 0.5741 GB, free: 25.78 MB / 414.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.005171/0.4388, allocations: 3.28 MB / 0.5773 GB, free: 23.88 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002023/0.4408, allocations: 1.358 MB / 0.5786 GB, free: 22.95 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001481/0.4423, allocations: 0.7201 MB / 0.5793 GB, free: 22.67 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001145/0.4425, allocations: 14.45 kB / 0.5793 GB, free: 22.66 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.22e-05/0.4425, allocations: 43.31 kB / 0.5794 GB, free: 22.62 MB / 414.1 MB Notification: Performance of pre-optimization done (n=85): time 2.305e-06/0.4425, allocations: 0 / 0.5794 GB, free: 22.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=85): time 0.02756/0.4701, allocations: 6.568 MB / 0.5858 GB, free: 21 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.898e-05/0.4702, allocations: 65.09 kB / 0.5859 GB, free: 20.93 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001263/0.4714, allocations: 0.8434 MB / 0.5867 GB, free: 20.44 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001979/0.4716, allocations: 37.11 kB / 0.5867 GB, free: 20.4 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002593/0.4719, allocations: 447.7 kB / 0.5871 GB, free: 20.01 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002817/0.4722, allocations: 309.9 kB / 0.5874 GB, free: 19.74 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003942/0.4726, allocations: 199.5 kB / 0.5876 GB, free: 19.61 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.001e-05/0.4727, allocations: 347.3 kB / 0.588 GB, free: 19.28 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001508/0.4742, allocations: 0.6922 MB / 0.5886 GB, free: 18.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001555/0.4758, allocations: 0.8268 MB / 0.5894 GB, free: 18.45 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002923/0.4787, allocations: 1.482 MB / 0.5909 GB, free: 17.64 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/0.4787, allocations: 1.094 kB / 0.5909 GB, free: 17.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01352/0.4923, allocations: 4.275 MB / 0.5951 GB, free: 15.54 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.862e-05/0.4923, allocations: 8.906 kB / 0.5951 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.578e-05/0.4923, allocations: 2.281 kB / 0.5951 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006013/0.4984, allocations: 1.851 MB / 0.5969 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000863/0.4992, allocations: 187.7 kB / 0.5971 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01861/0.5179, allocations: 9.474 MB / 0.6063 GB, free: 3.898 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001551/0.5194, allocations: 163 kB / 0.6065 GB, free: 3.738 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.196e-05/0.5195, allocations: 39.98 kB / 0.6065 GB, free: 3.699 MB / 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.00039/0.5199, allocations: 218 kB / 0.6067 GB, free: 3.477 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001642/0.5201, allocations: 110.6 kB / 0.6068 GB, free: 3.367 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01132/0.5314, allocations: 3.885 MB / 0.6106 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.308e-05/0.5315, allocations: 8 kB / 0.6106 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.5315, allocations: 3.938 kB / 0.6106 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.339e-05/0.5315, allocations: 3.984 kB / 0.6106 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01432/0.5458, allocations: 5.441 MB / 0.6159 GB, free: 9.867 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.5459, allocations: 0 / 0.6159 GB, free: 9.867 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005885/0.5465, allocations: 95.81 kB / 0.616 GB, free: 9.773 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005708/0.5522, allocations: 1.753 MB / 0.6177 GB, free: 8.016 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001051/0.5523, allocations: 19.98 kB / 0.6178 GB, free: 7.996 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01869/0.571, allocations: 8.066 MB / 0.6256 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.718e-06/0.571, allocations: 3.938 kB / 0.6256 GB, free: 15.78 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0147/0.5857, allocations: 4.759 MB / 0.6303 GB, free: 11 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004576/0.5862, allocations: 195.6 kB / 0.6305 GB, free: 10.79 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003557/0.5866, allocations: 19.94 kB / 0.6305 GB, free: 10.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001258/0.5879, allocations: 99.88 kB / 0.6306 GB, free: 10.67 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007353/0.5886, allocations: 200.7 kB / 0.6308 GB, free: 10.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001266/0.5888, allocations: 20 kB / 0.6308 GB, free: 10.45 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0009451/0.5897, allocations: 0.5741 MB / 0.6314 GB, free: 9.867 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5898, allocations: 4 kB / 0.6314 GB, free: 9.863 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001718/0.5915, allocations: 427.6 kB / 0.6318 GB, free: 9.445 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.01515/0.6066, allocations: 5.35 MB / 0.637 GB, free: 4.059 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007695/0.6144, allocations: 2.422 MB / 0.6394 GB, free: 1.617 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.6144, allocations: 0 / 0.6394 GB, free: 1.617 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004792/0.6192, allocations: 1.535 MB / 0.6409 GB, free: 72 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001284/0.6205, allocations: 84.58 kB / 0.6409 GB, free: 15.99 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04105/0.6616, allocations: 15.75 MB / 0.6563 GB, free: 15.89 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008504/0.6625, allocations: 1.045 MB / 0.6573 GB, free: 14.82 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005391/0.6631, allocations: 82.44 kB / 0.6574 GB, free: 14.73 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006776/0.6638, allocations: 395.2 kB / 0.6578 GB, free: 14.35 MB / 478.1 MB Notification: Performance of SimCode: time 1.022e-06/0.6638, allocations: 0 / 0.6578 GB, free: 14.35 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08898/0.7528, allocations: 31.03 MB / 0.6881 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002876/0.7531, allocations: 212.9 kB / 0.6883 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.11/3.863, allocations: 0 / 0.6883 GB, free: 15.14 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)