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.007663/0.007663, allocations: 100.4 kB / 15.73 MB, free: 6.043 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.328/1.328, allocations: 222.9 MB / 239.4 MB, free: 4.551 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: 192.5 kB / 289.7 MB, free: 2.258 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4329/0.4329, allocations: 78.53 MB / 418.4 MB, free: 3.082 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 80.09 kB / 0.5531 GB, free: 1.418 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2679/0.2694, allocations: 68.16 MB / 0.6197 GB, free: 9.324 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order5test2): time 0.004813/0.2743, allocations: 5.84 MB / 0.6254 GB, free: 4.281 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002709/0.277, allocations: 1.755 MB / 0.6271 GB, free: 2.523 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005944/0.2776, allocations: 8 kB / 0.6271 GB, free: 2.516 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004414/0.2781, allocations: 210.2 kB / 0.6273 GB, free: 2.309 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001376/0.2795, allocations: 0.7325 MB / 0.6281 GB, free: 1.574 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009569/0.2805, allocations: 0.5714 MB / 0.6286 GB, free: 1.012 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009814/0.2815, allocations: 1.292 MB / 0.6299 GB, free: 15.71 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003596/0.2818, allocations: 273.4 kB / 0.6301 GB, free: 15.44 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005414/0.2824, allocations: 0.5368 MB / 0.6307 GB, free: 14.9 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006446/0.283, allocations: 0.665 MB / 0.6313 GB, free: 14.23 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001222/0.2832, allocations: 92 kB / 0.6314 GB, free: 14.14 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003763/0.2835, allocations: 219.9 kB / 0.6316 GB, free: 13.93 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001867/0.2837, allocations: 258.8 kB / 0.6319 GB, free: 13.67 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004136/0.2842, allocations: 0.5476 MB / 0.6324 GB, free: 13.12 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00122/0.2854, allocations: 1.393 MB / 0.6337 GB, free: 11.72 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.2854, allocations: 0 / 0.6337 GB, free: 11.72 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2854, allocations: 0 / 0.6337 GB, free: 11.72 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.764e-05/0.2854, allocations: 0 / 0.6337 GB, free: 11.72 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.007202/0.2926, allocations: 2.382 MB / 0.6361 GB, free: 9.289 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.2927, allocations: 8.031 kB / 0.6361 GB, free: 9.281 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001404/0.2928, allocations: 118.5 kB / 0.6362 GB, free: 9.156 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004929/0.2978, allocations: 0.7634 MB / 0.6369 GB, free: 8.387 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00121/0.299, allocations: 0.7166 MB / 0.6376 GB, free: 7.625 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002712/0.2993, allocations: 256.1 kB / 0.6379 GB, free: 7.34 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001466/0.2994, allocations: 72 kB / 0.638 GB, free: 7.27 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001946/0.3014, allocations: 0.9715 MB / 0.6389 GB, free: 6.293 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.786e-05/0.3014, allocations: 0 / 0.6389 GB, free: 6.293 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-05/0.3015, allocations: 32 kB / 0.6389 GB, free: 6.262 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.775e-05/0.3015, allocations: 16 kB / 0.6389 GB, free: 6.246 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002029/0.3036, allocations: 0.9799 MB / 0.6399 GB, free: 5.262 MB / 446.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.005356/0.3089, allocations: 3.209 MB / 0.643 GB, free: 1.902 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001989/0.3109, allocations: 1.329 MB / 0.6443 GB, free: 468 kB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001312/0.3123, allocations: 0.7149 MB / 0.645 GB, free: 15.74 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001131/0.3124, allocations: 9 kB / 0.645 GB, free: 15.73 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/0.3124, allocations: 43.56 kB / 0.6451 GB, free: 15.68 MB / 462.1 MB Notification: Performance of pre-optimization done (n=84): time 3.026e-06/0.3124, allocations: 0 / 0.6451 GB, free: 15.68 MB / 462.1 MB Notification: Performance of matching and sorting (n=84): time 0.02288/0.3353, allocations: 6.376 MB / 0.6513 GB, free: 9.266 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.951e-05/0.3354, allocations: 64.34 kB / 0.6514 GB, free: 9.191 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001056/0.3365, allocations: 0.8104 MB / 0.6522 GB, free: 8.355 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001329/0.3366, allocations: 41.7 kB / 0.6522 GB, free: 8.309 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000296/0.3369, allocations: 428.5 kB / 0.6526 GB, free: 7.883 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003292/0.3373, allocations: 299.6 kB / 0.6529 GB, free: 7.586 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004365/0.3377, allocations: 198.8 kB / 0.6531 GB, free: 7.383 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.3378, allocations: 349.9 kB / 0.6534 GB, free: 7.035 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001435/0.3393, allocations: 0.678 MB / 0.6541 GB, free: 6.359 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001504/0.3408, allocations: 0.7955 MB / 0.6549 GB, free: 5.531 MB / 462.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.003121/0.3439, allocations: 1.573 MB / 0.6564 GB, free: 3.91 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.3439, allocations: 0 / 0.6564 GB, free: 3.91 MB / 462.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.01315/0.3571, allocations: 4.204 MB / 0.6605 GB, free: 15.69 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.981e-05/0.3572, allocations: 4 kB / 0.6605 GB, free: 15.68 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-05/0.3572, allocations: 4 kB / 0.6605 GB, free: 15.68 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006609/0.3638, allocations: 1.865 MB / 0.6623 GB, free: 13.81 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008643/0.3647, allocations: 179.7 kB / 0.6625 GB, free: 13.64 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02163/0.3863, allocations: 9.549 MB / 0.6718 GB, free: 3.938 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0013/0.3877, allocations: 159 kB / 0.672 GB, free: 3.781 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001621/0.3879, allocations: 35.98 kB / 0.672 GB, free: 3.746 MB / 478.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.0004496/0.3883, allocations: 233.6 kB / 0.6722 GB, free: 3.508 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002257/0.3885, allocations: 110.6 kB / 0.6723 GB, free: 3.398 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01234/0.4009, allocations: 3.883 MB / 0.6761 GB, free: 15.5 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.511e-05/0.4009, allocations: 8 kB / 0.6761 GB, free: 15.49 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.401, allocations: 0 / 0.6761 GB, free: 15.49 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.092e-05/0.401, allocations: 7.984 kB / 0.6761 GB, free: 15.48 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01451/0.4155, allocations: 5.349 MB / 0.6814 GB, free: 9.996 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.57e-05/0.4156, allocations: 4 kB / 0.6814 GB, free: 9.992 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006197/0.4162, allocations: 95.88 kB / 0.6815 GB, free: 9.898 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005784/0.422, allocations: 1.741 MB / 0.6832 GB, free: 8.152 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001636/0.4222, allocations: 19.98 kB / 0.6832 GB, free: 8.133 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01796/0.4401, allocations: 8.053 MB / 0.6911 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.4402, allocations: 3.984 kB / 0.6911 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0143/0.4545, allocations: 4.716 MB / 0.6957 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003412/0.4549, allocations: 187.6 kB / 0.6958 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002721/0.4552, allocations: 20 kB / 0.6959 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001084/0.4563, allocations: 87.89 kB / 0.6959 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000673/0.457, allocations: 196.7 kB / 0.6961 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001051/0.4571, allocations: 31.92 kB / 0.6962 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007335/0.4578, allocations: 0.5383 MB / 0.6967 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4578, allocations: 0 / 0.6967 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001314/0.4591, allocations: 419.6 kB / 0.6971 GB, free: 9.695 MB / 0.4981 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.01435/0.4735, allocations: 5.288 MB / 0.7022 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006699/0.4802, allocations: 2.387 MB / 0.7046 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.4803, allocations: 0.5625 kB / 0.7046 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004569/0.4849, allocations: 1.526 MB / 0.7061 GB, free: 440 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008579/0.4857, allocations: 77.38 kB / 0.7061 GB, free: 360 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03615/0.5219, allocations: 14.62 MB / 0.7204 GB, free: 1.543 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005695/0.5225, allocations: 1.029 MB / 0.7214 GB, free: 496 kB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003282/0.5229, allocations: 78.31 kB / 0.7215 GB, free: 416 kB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005029/0.5234, allocations: 383.3 kB / 0.7219 GB, free: 32 kB / 0.5137 GB Notification: Performance of SimCode: time 5.31e-07/0.5234, allocations: 3.938 kB / 0.7219 GB, free: 28 kB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06141/0.5848, allocations: 32.07 MB / 0.7532 GB, free: 76 kB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15/15.58, allocations: 7.688 kB / 0.7532 GB, free: 68 kB / 0.545 GB (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/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)