Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order5test2.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.Order5test2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order5test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order5test2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order5test2",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.0009068/0.0009068, allocations: 91.84 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 223.3 MB / 239 MB, free: 5.445 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.001385/0.001385, allocations: 176.5 kB / 290.3 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4604/0.4604, allocations: 79.48 MB / 420.8 MB, free: 3.906 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003954/0.0003955, allocations: 12 kB / 0.4892 GB, free: 5.48 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3956/0.396, allocations: 69.52 MB / 0.5571 GB, free: 37.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order5test2): time 0.005926/0.402, allocations: 5.396 MB / 0.5624 GB, free: 37.36 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003973/0.406, allocations: 1.697 MB / 0.564 GB, free: 37.09 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007448/0.4068, allocations: 9.875 kB / 0.564 GB, free: 37.09 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004695/0.4073, allocations: 145.4 kB / 0.5642 GB, free: 37.04 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001646/0.4089, allocations: 0.5826 MB / 0.5647 GB, free: 36.77 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001206/0.4102, allocations: 493.1 kB / 0.5652 GB, free: 36.7 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001402/0.4116, allocations: 1.166 MB / 0.5664 GB, free: 36.4 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003937/0.412, allocations: 214 kB / 0.5666 GB, free: 36.36 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006754/0.4127, allocations: 471.2 kB / 0.567 GB, free: 36.23 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006088/0.4133, allocations: 0.5838 MB / 0.5676 GB, free: 36.07 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.754e-05/0.4134, allocations: 49.09 kB / 0.5676 GB, free: 36.07 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004381/0.4138, allocations: 172.9 kB / 0.5678 GB, free: 36.06 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001557/0.414, allocations: 198.7 kB / 0.568 GB, free: 36 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001694/0.4142, allocations: 202.2 kB / 0.5682 GB, free: 35.93 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009995/0.4152, allocations: 1.017 MB / 0.5692 GB, free: 35.74 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.4152, allocations: 0.8125 kB / 0.5692 GB, free: 35.74 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.4152, allocations: 0 / 0.5692 GB, free: 35.74 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.354e-05/0.4152, allocations: 0.75 kB / 0.5692 GB, free: 35.74 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.006569/0.4218, allocations: 2.233 MB / 0.5713 GB, free: 34.95 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.516e-05/0.4219, allocations: 8.781 kB / 0.5714 GB, free: 34.95 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002422/0.4221, allocations: 116.1 kB / 0.5715 GB, free: 34.91 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004463/0.4266, allocations: 0.7753 MB / 0.5722 GB, free: 34.82 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001192/0.4278, allocations: 0.6839 MB / 0.5729 GB, free: 34.49 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002652/0.4281, allocations: 261.5 kB / 0.5731 GB, free: 34.3 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001532/0.4282, allocations: 73.2 kB / 0.5732 GB, free: 34.3 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002054/0.4303, allocations: 1.041 MB / 0.5742 GB, free: 34.09 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/0.4303, allocations: 0 / 0.5742 GB, free: 34.09 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.034e-05/0.4304, allocations: 25.84 kB / 0.5742 GB, free: 34.07 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.783e-05/0.4304, allocations: 18.64 kB / 0.5743 GB, free: 34.07 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001997/0.4324, allocations: 1.073 MB / 0.5753 GB, free: 33.74 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.005038/0.4375, allocations: 3.281 MB / 0.5785 GB, free: 31.86 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001825/0.4393, allocations: 1.394 MB / 0.5799 GB, free: 30.96 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001259/0.4406, allocations: 0.777 MB / 0.5806 GB, free: 30.67 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001074/0.4407, allocations: 22.36 kB / 0.5807 GB, free: 30.66 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/0.4407, allocations: 38.06 kB / 0.5807 GB, free: 30.62 MB / 430.1 MB Notification: Performance of pre-optimization done (n=84): time 3.787e-06/0.4408, allocations: 0 / 0.5807 GB, free: 30.62 MB / 430.1 MB Notification: Performance of matching and sorting (n=84): time 0.02425/0.465, allocations: 7.912 MB / 0.5884 GB, free: 29.24 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.051e-05/0.4651, allocations: 61 kB / 0.5885 GB, free: 29.17 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001401/0.4665, allocations: 0.798 MB / 0.5893 GB, free: 28.81 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002535/0.4668, allocations: 41.92 kB / 0.5893 GB, free: 28.77 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000306/0.4671, allocations: 422.2 kB / 0.5897 GB, free: 28.44 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003411/0.4675, allocations: 308.4 kB / 0.59 GB, free: 28.2 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.482e-05/0.4676, allocations: 20.25 kB / 0.59 GB, free: 28.18 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.959e-05/0.4676, allocations: 356.8 kB / 0.5904 GB, free: 27.85 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001508/0.4692, allocations: 0.7429 MB / 0.5911 GB, free: 27.6 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001558/0.4707, allocations: 0.8795 MB / 0.5919 GB, free: 27.23 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.001861/0.4726, allocations: 0.9026 MB / 0.5928 GB, free: 26.81 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/0.4726, allocations: 5.469 kB / 0.5928 GB, free: 26.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.01417/0.4868, allocations: 5.105 MB / 0.5978 GB, free: 25.7 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.643e-05/0.4869, allocations: 5.875 kB / 0.5978 GB, free: 25.7 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.765e-05/0.4869, allocations: 2.25 kB / 0.5978 GB, free: 25.7 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007476/0.4944, allocations: 2.206 MB / 0.6 GB, free: 25.33 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001047/0.4955, allocations: 185.3 kB / 0.6002 GB, free: 25.31 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02355/0.5191, allocations: 9.784 MB / 0.6097 GB, free: 21.09 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001606/0.5207, allocations: 194 kB / 0.6099 GB, free: 21.02 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000264/0.521, allocations: 38.47 kB / 0.6099 GB, free: 21.01 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {24 15} Notification: Performance of prepare postOptimizeDAE: time 0.0007073/0.5217, allocations: 223.2 kB / 0.6101 GB, free: 20.82 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003465/0.5221, allocations: 104.1 kB / 0.6102 GB, free: 20.77 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01243/0.5345, allocations: 4.792 MB / 0.6149 GB, free: 17.32 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.852e-05/0.5346, allocations: 8 kB / 0.6149 GB, free: 17.32 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.5346, allocations: 0 / 0.6149 GB, free: 17.32 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-05/0.5346, allocations: 8.531 kB / 0.6149 GB, free: 17.31 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01349/0.5481, allocations: 6.259 MB / 0.621 GB, free: 10.91 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-05/0.5482, allocations: 4.875 kB / 0.6211 GB, free: 10.91 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006082/0.5488, allocations: 95.89 kB / 0.6211 GB, free: 10.81 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005143/0.554, allocations: 2.054 MB / 0.6231 GB, free: 8.758 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001919/0.5542, allocations: 16.66 kB / 0.6232 GB, free: 8.742 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01599/0.5702, allocations: 8.208 MB / 0.6312 GB, free: 412 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/0.5703, allocations: 3.953 kB / 0.6312 GB, free: 408 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01449/0.5848, allocations: 5.688 MB / 0.6367 GB, free: 10.69 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000474/0.5853, allocations: 195.6 kB / 0.6369 GB, free: 10.48 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003709/0.5857, allocations: 16 kB / 0.6369 GB, free: 10.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001117/0.5868, allocations: 127.9 kB / 0.6371 GB, free: 10.34 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007267/0.5876, allocations: 201.5 kB / 0.6373 GB, free: 10.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001158/0.5877, allocations: 20 kB / 0.6373 GB, free: 10.12 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008691/0.5886, allocations: 0.5343 MB / 0.6378 GB, free: 9.57 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.5886, allocations: 0 / 0.6378 GB, free: 9.57 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001842/0.5904, allocations: 411.7 kB / 0.6382 GB, free: 9.168 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.01437/0.6048, allocations: 6.273 MB / 0.6443 GB, free: 2.859 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006988/0.6119, allocations: 2.647 MB / 0.6469 GB, free: 208 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.6119, allocations: 4.562 kB / 0.6469 GB, free: 204 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004486/0.6164, allocations: 1.707 MB / 0.6486 GB, free: 14.48 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001147/0.6176, allocations: 77.22 kB / 0.6486 GB, free: 14.4 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02396/0.6416, allocations: 10.8 MB / 0.6592 GB, free: 3.379 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007232/0.6423, allocations: 1.029 MB / 0.6602 GB, free: 2.32 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004282/0.6428, allocations: 82.06 kB / 0.6603 GB, free: 2.242 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005729/0.6434, allocations: 383.3 kB / 0.6606 GB, free: 1.867 MB / 462.1 MB Notification: Performance of SimCode: time 8.41e-07/0.6434, allocations: 0 / 0.6606 GB, free: 1.867 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05236/0.6957, allocations: 28.41 MB / 0.6884 GB, free: 5.801 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001891/0.696, allocations: 205.2 kB / 0.6886 GB, free: 5.562 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.626/3.322, allocations: 4 kB / 0.6886 GB, free: 5.559 MB / 494.1 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order5test2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order5test2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order5test2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order5test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order5test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order5test2.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order5test2.pipe 2>&1) Environment - environmentSimulation: