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-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.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-master/package.mo): time 0.1614/0.1614, allocations: 12.6 MB / 28.23 MB, free: 100 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.001681/0.001681, allocations: 111.4 kB / 31.83 MB, free: 3.418 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.273/2.273, allocations: 205.1 MB / 240.4 MB, free: 12.37 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.002255/0.002255, allocations: 184.5 kB / 290.7 MB, free: 13.38 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.6776/0.6776, allocations: 78.52 MB / 419.3 MB, free: 11.27 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.002653/0.002653, allocations: 139.8 kB / 0.5554 GB, free: 28.71 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.1455, allocations: 68.12 MB / 0.6219 GB, free: 15.93 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order5test2): time 0.007263/0.1528, allocations: 5.898 MB / 0.6277 GB, free: 10 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004098/0.1569, allocations: 1.725 MB / 0.6293 GB, free: 8.273 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009497/0.1579, allocations: 11.94 kB / 0.6294 GB, free: 8.262 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007678/0.1587, allocations: 202.2 kB / 0.6296 GB, free: 8.062 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002334/0.1611, allocations: 0.696 MB / 0.6302 GB, free: 7.367 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00148/0.1626, allocations: 0.5645 MB / 0.6308 GB, free: 6.809 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001921/0.1645, allocations: 1.277 MB / 0.632 GB, free: 5.527 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005614/0.1651, allocations: 301.7 kB / 0.6323 GB, free: 5.223 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009588/0.166, allocations: 0.5329 MB / 0.6328 GB, free: 4.688 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001021/0.1671, allocations: 0.6572 MB / 0.6335 GB, free: 4.027 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002998/0.1674, allocations: 92 kB / 0.6336 GB, free: 3.938 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006542/0.168, allocations: 231.8 kB / 0.6338 GB, free: 3.711 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003286/0.1684, allocations: 243 kB / 0.634 GB, free: 3.473 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007537/0.1691, allocations: 0.5631 MB / 0.6346 GB, free: 2.906 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001707/0.1709, allocations: 1.382 MB / 0.6359 GB, free: 1.52 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.1709, allocations: 0 / 0.6359 GB, free: 1.52 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1709, allocations: 0 / 0.6359 GB, free: 1.52 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.759e-05/0.1709, allocations: 4 kB / 0.6359 GB, free: 1.516 MB / 446.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.007949/0.1789, allocations: 2.376 MB / 0.6382 GB, free: 15.09 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.374e-05/0.1789, allocations: 11.98 kB / 0.6383 GB, free: 15.07 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002022/0.1792, allocations: 114.5 kB / 0.6384 GB, free: 14.95 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005031/0.1842, allocations: 0.7595 MB / 0.6391 GB, free: 14.19 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0018/0.186, allocations: 0.7206 MB / 0.6398 GB, free: 13.43 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004136/0.1865, allocations: 252.2 kB / 0.64 GB, free: 13.14 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002524/0.1867, allocations: 71.91 kB / 0.6401 GB, free: 13.07 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002443/0.1892, allocations: 0.9677 MB / 0.6411 GB, free: 12.1 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.906e-05/0.1892, allocations: 3.938 kB / 0.6411 GB, free: 12.1 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.818e-05/0.1893, allocations: 32 kB / 0.6411 GB, free: 12.07 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.655e-05/0.1893, allocations: 16 kB / 0.6411 GB, free: 12.05 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002295/0.1916, allocations: 0.9799 MB / 0.6421 GB, free: 11.07 MB / 462.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.006188/0.1978, allocations: 3.198 MB / 0.6452 GB, free: 7.715 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002243/0.2001, allocations: 1.333 MB / 0.6465 GB, free: 6.266 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001481/0.2016, allocations: 0.711 MB / 0.6472 GB, free: 5.555 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001231/0.2017, allocations: 16.97 kB / 0.6472 GB, free: 5.535 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.174e-05/0.2018, allocations: 43.56 kB / 0.6472 GB, free: 5.484 MB / 462.1 MB Notification: Performance of pre-optimization done (n=84): time 3.126e-06/0.2018, allocations: 0 / 0.6472 GB, free: 5.484 MB / 462.1 MB Notification: Performance of matching and sorting (n=84): time 0.02676/0.2285, allocations: 6.376 MB / 0.6535 GB, free: 15.08 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.63e-05/0.2287, allocations: 68.28 kB / 0.6535 GB, free: 15 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001279/0.2299, allocations: 0.8104 MB / 0.6543 GB, free: 14.16 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001955/0.2302, allocations: 37.7 kB / 0.6544 GB, free: 14.12 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000356/0.2305, allocations: 436.4 kB / 0.6548 GB, free: 13.68 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004425/0.231, allocations: 299.7 kB / 0.6551 GB, free: 13.39 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004848/0.2315, allocations: 198.8 kB / 0.6553 GB, free: 13.18 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.2316, allocations: 345.9 kB / 0.6556 GB, free: 12.84 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001664/0.2333, allocations: 0.6779 MB / 0.6562 GB, free: 12.16 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001777/0.2351, allocations: 0.8033 MB / 0.657 GB, free: 11.33 MB / 478.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.003621/0.2387, allocations: 1.565 MB / 0.6586 GB, free: 9.715 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.007e-06/0.2388, allocations: 3.938 kB / 0.6586 GB, free: 9.711 MB / 478.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.01487/0.2536, allocations: 4.2 MB / 0.6627 GB, free: 5.492 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.492e-05/0.2537, allocations: 11.94 kB / 0.6627 GB, free: 5.48 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.578e-05/0.2537, allocations: 0 / 0.6627 GB, free: 5.48 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007414/0.2612, allocations: 1.861 MB / 0.6645 GB, free: 3.617 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009178/0.2621, allocations: 175.8 kB / 0.6647 GB, free: 3.445 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0249/0.287, allocations: 9.553 MB / 0.674 GB, free: 9.742 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001582/0.2887, allocations: 155 kB / 0.6741 GB, free: 9.59 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002105/0.2889, allocations: 39.98 kB / 0.6742 GB, free: 9.551 MB / 494.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $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.0005671/0.2895, allocations: 229.6 kB / 0.6744 GB, free: 9.316 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000301/0.2898, allocations: 106.6 kB / 0.6745 GB, free: 9.211 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.015/0.3048, allocations: 3.88 MB / 0.6783 GB, free: 5.312 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.619e-05/0.3049, allocations: 8 kB / 0.6783 GB, free: 5.305 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.3049, allocations: 0 / 0.6783 GB, free: 5.305 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.569e-05/0.3049, allocations: 3.984 kB / 0.6783 GB, free: 5.301 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01645/0.3214, allocations: 5.353 MB / 0.6835 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-05/0.3215, allocations: 4 kB / 0.6835 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006586/0.3221, allocations: 95.83 kB / 0.6836 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006313/0.3285, allocations: 1.745 MB / 0.6853 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002034/0.3287, allocations: 16 kB / 0.6853 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02019/0.3489, allocations: 8.06 MB / 0.6932 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.3489, allocations: 0 / 0.6932 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01588/0.3648, allocations: 4.716 MB / 0.6978 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004489/0.3653, allocations: 187.7 kB / 0.698 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002419/0.3656, allocations: 28.06 kB / 0.698 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001056/0.3666, allocations: 87.89 kB / 0.6981 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006577/0.3673, allocations: 204.6 kB / 0.6983 GB, free: 492 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.552e-05/0.3674, allocations: 20 kB / 0.6983 GB, free: 472 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008684/0.3683, allocations: 0.55 MB / 0.6989 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3683, allocations: 0 / 0.6989 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001673/0.37, allocations: 419.6 kB / 0.6993 GB, free: 15.49 MB / 0.5137 GB 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.01605/0.386, allocations: 5.28 MB / 0.7044 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007578/0.3937, allocations: 2.391 MB / 0.7067 GB, free: 7.773 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.3937, allocations: 0.5625 kB / 0.7067 GB, free: 7.773 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004996/0.3987, allocations: 1.522 MB / 0.7082 GB, free: 6.234 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009042/0.3996, allocations: 86.45 kB / 0.7083 GB, free: 6.148 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3297/0.7294, allocations: 14.61 MB / 0.7226 GB, free: 83.79 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009396/0.7304, allocations: 1.035 MB / 0.7236 GB, free: 83.09 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005105/0.7309, allocations: 78.2 kB / 0.7237 GB, free: 83.09 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005937/0.7315, allocations: 383.9 kB / 0.724 GB, free: 82.86 MB / 0.5137 GB Notification: Performance of SimCode: time 1.633e-06/0.7315, allocations: 0 / 0.724 GB, free: 82.86 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06317/0.7947, allocations: 33.44 MB / 0.7567 GB, free: 62.44 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.03/29.83, allocations: 10.88 kB / 0.7567 GB, free: 62.43 MB / 0.5137 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)