Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL_Tests_Machines_PSAT_Order5test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order5test2,fileNamePrefix="OpenIPSL_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.001401/0.001401, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.312/1.312, allocations: 223.2 MB / 238.9 MB, free: 5.664 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.001063/0.001064, allocations: 188.8 kB / 290.2 MB, free: 2.352 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4226/0.4226, allocations: 78.52 MB / 419.8 MB, free: 4.355 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004299/0.00043, allocations: 15.98 kB / 499.8 MB, free: 6.289 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.1432, allocations: 69.35 MB / 0.5558 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order5test2): time 0.2178/0.3612, allocations: 5.098 MB / 0.5607 GB, free: 37.44 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002743/0.3639, allocations: 1.725 MB / 0.5624 GB, free: 37.21 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004143/0.3644, allocations: 9.344 kB / 0.5624 GB, free: 37.21 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003273/0.3647, allocations: 150.1 kB / 0.5626 GB, free: 37.15 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001277/0.366, allocations: 0.6252 MB / 0.5632 GB, free: 37.08 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009888/0.367, allocations: 499.4 kB / 0.5637 GB, free: 37.05 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001093/0.3681, allocations: 0.834 MB / 0.5645 GB, free: 37.02 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003337/0.3684, allocations: 216.3 kB / 0.5647 GB, free: 36.98 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000531/0.369, allocations: 477.5 kB / 0.5651 GB, free: 36.88 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000534/0.3695, allocations: 0.5656 MB / 0.5657 GB, free: 36.77 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001084/0.3696, allocations: 49.28 kB / 0.5657 GB, free: 36.77 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000368/0.37, allocations: 158.7 kB / 0.5659 GB, free: 36.77 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001758/0.3702, allocations: 198.9 kB / 0.5661 GB, free: 36.73 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001471/0.3704, allocations: 202.1 kB / 0.5663 GB, free: 36.66 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007724/0.3711, allocations: 0.9701 MB / 0.5672 GB, free: 36.54 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.953e-06/0.3711, allocations: 0 / 0.5672 GB, free: 36.54 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3712, allocations: 2.25 kB / 0.5672 GB, free: 36.54 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.289e-05/0.3712, allocations: 0.7812 kB / 0.5672 GB, free: 36.54 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.006925/0.3781, allocations: 2.232 MB / 0.5694 GB, free: 35.75 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.3782, allocations: 9.344 kB / 0.5694 GB, free: 35.75 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002039/0.3784, allocations: 116 kB / 0.5695 GB, free: 35.71 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004874/0.3832, allocations: 0.7732 MB / 0.5703 GB, free: 35.63 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001025/0.3843, allocations: 0.6796 MB / 0.5709 GB, free: 35.3 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002436/0.3845, allocations: 269 kB / 0.5712 GB, free: 35.11 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001249/0.3847, allocations: 71.88 kB / 0.5713 GB, free: 35.1 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001862/0.3865, allocations: 1.033 MB / 0.5723 GB, free: 35.04 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.3866, allocations: 0 / 0.5723 GB, free: 35.04 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.359e-05/0.3867, allocations: 26.36 kB / 0.5723 GB, free: 35.04 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.325e-05/0.3867, allocations: 21.25 kB / 0.5723 GB, free: 35.04 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001996/0.3887, allocations: 1.065 MB / 0.5734 GB, free: 35.01 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.005047/0.3937, allocations: 3.378 MB / 0.5767 GB, free: 33.12 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001809/0.3956, allocations: 1.398 MB / 0.578 GB, free: 32.21 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.975e-05/0.3957, allocations: 19.48 kB / 0.5781 GB, free: 32.21 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.206e-05/0.3957, allocations: 46.47 kB / 0.5781 GB, free: 32.16 MB / 430.1 MB Notification: Performance of pre-optimization done (n=84): time 2.926e-06/0.3957, allocations: 0 / 0.5781 GB, free: 32.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=84): time 0.02572/0.4214, allocations: 7.888 MB / 0.5858 GB, free: 30.79 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.827e-05/0.4215, allocations: 67.62 kB / 0.5859 GB, free: 30.73 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001064/0.4226, allocations: 0.7943 MB / 0.5866 GB, free: 30.37 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001852/0.4228, allocations: 45.02 kB / 0.5867 GB, free: 30.32 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002364/0.423, allocations: 434.9 kB / 0.5871 GB, free: 29.98 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002767/0.4233, allocations: 303.2 kB / 0.5874 GB, free: 29.74 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.287e-05/0.4234, allocations: 24.44 kB / 0.5874 GB, free: 29.72 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.365e-05/0.4235, allocations: 351.6 kB / 0.5877 GB, free: 29.39 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001517/0.425, allocations: 0.7464 MB / 0.5885 GB, free: 29.14 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001555/0.4266, allocations: 0.8667 MB / 0.5893 GB, free: 28.78 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.00176/0.4284, allocations: 0.9007 MB / 0.5902 GB, free: 28.36 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.4284, allocations: 1.156 kB / 0.5902 GB, free: 28.36 MB / 430.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.01499/0.4434, allocations: 5.11 MB / 0.5952 GB, free: 27.25 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.346e-05/0.4434, allocations: 6.062 kB / 0.5952 GB, free: 27.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.635e-05/0.4435, allocations: 3.094 kB / 0.5952 GB, free: 27.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007485/0.4509, allocations: 2.206 MB / 0.5974 GB, free: 26.88 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009307/0.4519, allocations: 189.5 kB / 0.5975 GB, free: 26.86 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02333/0.4753, allocations: 10.24 MB / 0.6075 GB, free: 22.49 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00153/0.4768, allocations: 202.3 kB / 0.6077 GB, free: 22.41 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001167/0.477, allocations: 37.89 kB / 0.6078 GB, free: 22.41 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.0004145/0.4774, allocations: 223.5 kB / 0.608 GB, free: 22.22 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001764/0.4776, allocations: 104.8 kB / 0.6081 GB, free: 22.16 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01376/0.4913, allocations: 4.791 MB / 0.6128 GB, free: 19.41 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.629e-05/0.4914, allocations: 8.562 kB / 0.6128 GB, free: 19.41 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.4914, allocations: 0 / 0.6128 GB, free: 19.41 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-05/0.4914, allocations: 4.922 kB / 0.6128 GB, free: 19.41 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01404/0.5055, allocations: 6.262 MB / 0.6189 GB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.229e-05/0.5055, allocations: 0 / 0.6189 GB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005922/0.5061, allocations: 103.9 kB / 0.619 GB, free: 13 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005727/0.5119, allocations: 2.054 MB / 0.621 GB, free: 10.95 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001502/0.512, allocations: 16 kB / 0.621 GB, free: 10.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01696/0.529, allocations: 8.649 MB / 0.6294 GB, free: 2.148 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.5291, allocations: 0 / 0.6294 GB, free: 2.148 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01541/0.5445, allocations: 5.689 MB / 0.635 GB, free: 12.44 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004138/0.5449, allocations: 195.6 kB / 0.6352 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001797/0.5451, allocations: 16 kB / 0.6352 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001031/0.5462, allocations: 131.9 kB / 0.6353 GB, free: 12.08 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000576/0.5467, allocations: 204.6 kB / 0.6355 GB, free: 11.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.045e-05/0.5468, allocations: 19.98 kB / 0.6355 GB, free: 11.86 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007495/0.5476, allocations: 0.5304 MB / 0.6361 GB, free: 11.32 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5476, allocations: 0 / 0.6361 GB, free: 11.32 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001638/0.5492, allocations: 415.7 kB / 0.6365 GB, free: 10.91 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.01632/0.5656, allocations: 6.271 MB / 0.6426 GB, free: 4.609 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007274/0.5729, allocations: 2.643 MB / 0.6452 GB, free: 1.957 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.5729, allocations: 0 / 0.6452 GB, free: 1.957 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004941/0.5779, allocations: 1.707 MB / 0.6468 GB, free: 244 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007103/0.5786, allocations: 63.33 kB / 0.6469 GB, free: 176 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00447/0.5831, allocations: 4.027 MB / 0.6508 GB, free: 12.1 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006187/0.5838, allocations: 1.057 MB / 0.6519 GB, free: 11.02 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003278/0.5841, allocations: 78.31 kB / 0.6519 GB, free: 10.94 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004754/0.5846, allocations: 387.2 kB / 0.6523 GB, free: 10.56 MB / 462.1 MB Notification: Performance of SimCode: time 8.72e-07/0.5846, allocations: 0 / 0.6523 GB, free: 10.56 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06212/0.6467, allocations: 27.85 MB / 0.6795 GB, free: 15.05 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002621/0.647, allocations: 185 kB / 0.6797 GB, free: 14.82 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.513/3.16, allocations: 3.938 kB / 0.6797 GB, free: 14.81 MB / 494.1 MB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order5test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order5test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order5test2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order5test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order5test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order5test2.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order5test2.pipe 2>&1) Environment - environmentSimulation: