Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order5test2.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.Order5test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order5test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order5test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order5test2",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.0826/0.0826, allocations: 12.2 MB / 27.47 MB, free: 0.9336 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.0008015/0.0008015, allocations: 99.52 kB / 31 MB, free: 4.535 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.304/1.304, allocations: 205.4 MB / 239.8 MB, free: 11.46 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.00106/0.00106, allocations: 188.5 kB / 291 MB, free: 13.28 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4848/0.4848, allocations: 78.53 MB / 420.5 MB, free: 48.64 MB / 334.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.0008923/0.0008923, allocations: 33.31 kB / 0.4902 GB, free: 2.129 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3919/0.3928, allocations: 69.22 MB / 0.5578 GB, free: 43.33 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order5test2): time 0.006045/0.3989, allocations: 5.79 MB / 0.5634 GB, free: 41.21 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004114/0.403, allocations: 1.754 MB / 0.5652 GB, free: 40.23 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001304/0.4044, allocations: 11.59 kB / 0.5652 GB, free: 40.23 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007713/0.4052, allocations: 156 kB / 0.5653 GB, free: 40.17 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002456/0.4076, allocations: 0.6136 MB / 0.5659 GB, free: 39.77 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001463/0.4091, allocations: 0.5354 MB / 0.5664 GB, free: 39.48 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002142/0.4113, allocations: 1.226 MB / 0.5676 GB, free: 38.87 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005412/0.4118, allocations: 238.1 kB / 0.5679 GB, free: 38.76 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009938/0.4128, allocations: 482.1 kB / 0.5683 GB, free: 38.55 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009743/0.4138, allocations: 0.6114 MB / 0.5689 GB, free: 38.27 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003112/0.4141, allocations: 48.66 kB / 0.569 GB, free: 38.27 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007372/0.4149, allocations: 180.3 kB / 0.5691 GB, free: 38.22 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002688/0.4151, allocations: 206.6 kB / 0.5693 GB, free: 38.1 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007544/0.4159, allocations: 0.5288 MB / 0.5699 GB, free: 37.74 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001416/0.4173, allocations: 1.305 MB / 0.5711 GB, free: 37.23 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.4173, allocations: 0 / 0.5711 GB, free: 37.23 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4174, allocations: 1.469 kB / 0.5711 GB, free: 37.23 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.066e-05/0.4174, allocations: 0 / 0.5711 GB, free: 37.23 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.006696/0.4241, allocations: 2.228 MB / 0.5733 GB, free: 36.27 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.4241, allocations: 12.8 kB / 0.5733 GB, free: 36.27 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001934/0.4243, allocations: 114 kB / 0.5734 GB, free: 36.19 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004655/0.429, allocations: 0.7741 MB / 0.5742 GB, free: 36.04 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001001/0.43, allocations: 0.7138 MB / 0.5749 GB, free: 35.53 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002595/0.4303, allocations: 261.2 kB / 0.5751 GB, free: 35.31 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001363/0.4304, allocations: 72.56 kB / 0.5752 GB, free: 35.29 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002007/0.4324, allocations: 1.043 MB / 0.5762 GB, free: 34.92 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.037e-05/0.4325, allocations: 0 / 0.5762 GB, free: 34.92 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.813e-05/0.4326, allocations: 26.62 kB / 0.5762 GB, free: 34.9 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.977e-05/0.4326, allocations: 15.44 kB / 0.5763 GB, free: 34.9 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002127/0.4347, allocations: 1.072 MB / 0.5773 GB, free: 34.57 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.004961/0.4397, allocations: 3.297 MB / 0.5805 GB, free: 32.68 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001885/0.4416, allocations: 1.408 MB / 0.5819 GB, free: 31.77 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001377/0.443, allocations: 0.788 MB / 0.5827 GB, free: 31.48 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.375e-05/0.4431, allocations: 9.688 kB / 0.5827 GB, free: 31.48 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.033e-05/0.4431, allocations: 45.8 kB / 0.5827 GB, free: 31.43 MB / 430.1 MB Notification: Performance of pre-optimization done (n=84): time 2.695e-06/0.4431, allocations: 0 / 0.5827 GB, free: 31.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=84): time 0.02583/0.469, allocations: 7.931 MB / 0.5905 GB, free: 30.05 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.078e-05/0.469, allocations: 65.62 kB / 0.5905 GB, free: 29.98 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001257/0.4703, allocations: 0.8046 MB / 0.5913 GB, free: 29.62 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001822/0.4705, allocations: 41.08 kB / 0.5914 GB, free: 29.58 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002649/0.4708, allocations: 426.7 kB / 0.5918 GB, free: 29.24 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003527/0.4711, allocations: 305.2 kB / 0.5921 GB, free: 29 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000226/0.4714, allocations: 105.5 kB / 0.5922 GB, free: 28.95 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.279e-05/0.4715, allocations: 345.4 kB / 0.5925 GB, free: 28.62 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001757/0.4732, allocations: 0.7553 MB / 0.5932 GB, free: 28.37 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001766/0.475, allocations: 0.8747 MB / 0.5941 GB, free: 28 MB / 430.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: $DER.order5Type1_Inputs_Outputs.delta = 0.0 (order5Type1_Inputs_Outputs.w_b * (-1.0 + $START.order5Type1_Inputs_Outputs.w) = 0.0) Notification: Performance of analyzeInitialSystem (initialization): time 0.003535/0.4785, allocations: 1.721 MB / 0.5958 GB, free: 27.2 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.237e-06/0.4786, allocations: 5.312 kB / 0.5958 GB, free: 27.19 MB / 430.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.01771/0.4963, allocations: 5.111 MB / 0.6008 GB, free: 26.08 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.657e-05/0.4964, allocations: 5.656 kB / 0.6008 GB, free: 26.08 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.987e-05/0.4964, allocations: 3.094 kB / 0.6008 GB, free: 26.08 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008551/0.505, allocations: 2.18 MB / 0.6029 GB, free: 25.72 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/0.5061, allocations: 185.7 kB / 0.6031 GB, free: 25.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0238/0.5299, allocations: 9.805 MB / 0.6126 GB, free: 19.46 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001772/0.5317, allocations: 195 kB / 0.6128 GB, free: 19.27 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002392/0.532, allocations: 32 kB / 0.6129 GB, free: 19.23 MB / 430.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.order5Type1_Inputs_Outputs.delta = 0.0. 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 (101): * Single equations (assignments): 100 * 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,15)} Notification: Performance of prepare postOptimizeDAE: time 0.0006826/0.5326, allocations: 229.6 kB / 0.6131 GB, free: 19 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003486/0.533, allocations: 102.8 kB / 0.6132 GB, free: 18.9 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01365/0.5467, allocations: 4.798 MB / 0.6179 GB, free: 14.08 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.922e-05/0.5467, allocations: 12 kB / 0.6179 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.5467, allocations: 0 / 0.6179 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.732e-05/0.5468, allocations: 3.984 kB / 0.6179 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01586/0.5626, allocations: 6.273 MB / 0.624 GB, free: 7.656 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.534e-05/0.5627, allocations: 0 / 0.624 GB, free: 7.656 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006288/0.5634, allocations: 99.89 kB / 0.6241 GB, free: 7.559 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006012/0.5694, allocations: 2.058 MB / 0.6261 GB, free: 5.496 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000152/0.5696, allocations: 16 kB / 0.6261 GB, free: 5.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01883/0.5884, allocations: 8.215 MB / 0.6341 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.5885, allocations: 0 / 0.6341 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01724/0.6057, allocations: 5.7 MB / 0.6397 GB, free: 7.398 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000565/0.6063, allocations: 195.6 kB / 0.6399 GB, free: 7.188 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004404/0.6068, allocations: 19.94 kB / 0.6399 GB, free: 7.168 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0014/0.6082, allocations: 131.9 kB / 0.64 GB, free: 7.039 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008357/0.6091, allocations: 192.7 kB / 0.6402 GB, free: 6.848 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001532/0.6093, allocations: 24 kB / 0.6402 GB, free: 6.824 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0009599/0.6102, allocations: 0.5421 MB / 0.6408 GB, free: 6.27 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6102, allocations: 0 / 0.6408 GB, free: 6.27 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002031/0.6123, allocations: 415.6 kB / 0.6412 GB, free: 5.863 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (order5Type1_Inputs_Outputs.delta,order5Type1_Inputs_Outputs.w,order5Type1_Inputs_Outputs.e1q,order5Type1_Inputs_Outputs.e1d,order5Type1_Inputs_Outputs.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 (51): * Single equations (assignments): 50 * 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.01735/0.6296, allocations: 6.276 MB / 0.6473 GB, free: 15.55 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008172/0.6379, allocations: 2.658 MB / 0.6499 GB, free: 12.89 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/0.6379, allocations: 0.5625 kB / 0.6499 GB, free: 12.89 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005394/0.6433, allocations: 1.714 MB / 0.6516 GB, free: 11.16 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001285/0.6446, allocations: 75.34 kB / 0.6516 GB, free: 11.09 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04354/0.6882, allocations: 17.4 MB / 0.6686 GB, free: 9.359 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006779/0.6889, allocations: 1.037 MB / 0.6696 GB, free: 8.297 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003718/0.6893, allocations: 82.3 kB / 0.6697 GB, free: 8.215 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005464/0.6899, allocations: 379.3 kB / 0.6701 GB, free: 7.844 MB / 478.1 MB Notification: Performance of SimCode: time 7.32e-07/0.6899, allocations: 8 kB / 0.6701 GB, free: 7.836 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04819/0.7381, allocations: 28.64 MB / 0.6981 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001903/0.7383, allocations: 227.7 kB / 0.6983 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.4/3.138, allocations: 3.938 kB / 0.6983 GB, free: 11.04 MB / 0.4981 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order5test2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order5test2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order5test2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order5test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order5test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order5test2.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order5test2.pipe 2>&1)