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.00795/0.00795, allocations: 101.9 kB / 15.73 MB, free: 6.469 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.316/1.316, allocations: 222.9 MB / 239.4 MB, free: 4.555 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.001453/0.001453, allocations: 192.5 kB / 289.7 MB, free: 2.254 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.215 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001624/0.001624, allocations: 75.89 kB / 0.5531 GB, free: 1.496 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2965/0.2982, allocations: 68.17 MB / 0.6197 GB, free: 9.332 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order5test2): time 0.004799/0.303, allocations: 5.844 MB / 0.6254 GB, free: 4.328 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002999/0.3061, allocations: 1.751 MB / 0.6271 GB, free: 2.574 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006137/0.3067, allocations: 12 kB / 0.6271 GB, free: 2.562 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004298/0.3071, allocations: 214.2 kB / 0.6273 GB, free: 2.352 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001468/0.3086, allocations: 0.6815 MB / 0.628 GB, free: 1.668 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001042/0.3097, allocations: 0.5733 MB / 0.6286 GB, free: 1.102 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001118/0.3108, allocations: 1.292 MB / 0.6298 GB, free: 15.8 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003831/0.3112, allocations: 277.4 kB / 0.6301 GB, free: 15.52 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005797/0.3118, allocations: 0.5329 MB / 0.6306 GB, free: 14.99 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000656/0.3125, allocations: 0.6573 MB / 0.6313 GB, free: 14.33 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001418/0.3126, allocations: 92 kB / 0.6313 GB, free: 14.24 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004082/0.313, allocations: 231.8 kB / 0.6316 GB, free: 14.01 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001839/0.3132, allocations: 246.8 kB / 0.6318 GB, free: 13.77 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000402/0.3136, allocations: 0.5592 MB / 0.6323 GB, free: 13.21 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001274/0.3149, allocations: 1.382 MB / 0.6337 GB, free: 11.82 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.3149, allocations: 4 kB / 0.6337 GB, free: 11.82 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.315, allocations: 0 / 0.6337 GB, free: 11.82 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.083e-05/0.315, allocations: 0 / 0.6337 GB, free: 11.82 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.007526/0.3225, allocations: 2.38 MB / 0.636 GB, free: 9.383 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.3226, allocations: 8.031 kB / 0.636 GB, free: 9.375 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001439/0.3227, allocations: 114.5 kB / 0.6361 GB, free: 9.254 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004883/0.3276, allocations: 0.7596 MB / 0.6369 GB, free: 8.488 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001204/0.3288, allocations: 0.7205 MB / 0.6376 GB, free: 7.723 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002706/0.3291, allocations: 256.1 kB / 0.6378 GB, free: 7.438 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001379/0.3293, allocations: 72 kB / 0.6379 GB, free: 7.367 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002022/0.3313, allocations: 0.9715 MB / 0.6388 GB, free: 6.391 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/0.3313, allocations: 4 kB / 0.6389 GB, free: 6.387 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.097e-05/0.3314, allocations: 28 kB / 0.6389 GB, free: 6.359 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.427e-05/0.3314, allocations: 16 kB / 0.6389 GB, free: 6.344 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002134/0.3336, allocations: 0.9838 MB / 0.6399 GB, free: 5.355 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.00556/0.3392, allocations: 3.201 MB / 0.643 GB, free: 2.004 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00217/0.3413, allocations: 1.328 MB / 0.6443 GB, free: 0.5586 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001484/0.3428, allocations: 0.7071 MB / 0.645 GB, free: 15.85 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001113/0.343, allocations: 20.97 kB / 0.645 GB, free: 15.83 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/0.343, allocations: 47.56 kB / 0.645 GB, free: 15.77 MB / 462.1 MB Notification: Performance of pre-optimization done (n=84): time 2.905e-06/0.343, allocations: 3.938 kB / 0.645 GB, free: 15.77 MB / 462.1 MB Notification: Performance of matching and sorting (n=84): time 0.02637/0.3694, allocations: 6.372 MB / 0.6513 GB, free: 9.359 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.243e-05/0.3695, allocations: 68.28 kB / 0.6513 GB, free: 9.281 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001154/0.3707, allocations: 0.8065 MB / 0.6521 GB, free: 8.449 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001994/0.3709, allocations: 41.7 kB / 0.6522 GB, free: 8.402 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003155/0.3712, allocations: 416.6 kB / 0.6526 GB, free: 7.988 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004055/0.3716, allocations: 311.6 kB / 0.6528 GB, free: 7.68 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004405/0.3721, allocations: 194.8 kB / 0.653 GB, free: 7.48 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.3722, allocations: 349.9 kB / 0.6534 GB, free: 7.133 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001547/0.3737, allocations: 0.6819 MB / 0.654 GB, free: 6.453 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001596/0.3753, allocations: 0.7955 MB / 0.6548 GB, free: 5.625 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.003501/0.3789, allocations: 1.569 MB / 0.6563 GB, free: 4.008 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.766e-06/0.3789, allocations: 0 / 0.6563 GB, free: 4.008 MB / 462.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.0146/0.3935, allocations: 4.207 MB / 0.6605 GB, free: 15.78 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.062e-05/0.3936, allocations: 4 kB / 0.6605 GB, free: 15.78 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.502e-05/0.3936, allocations: 4 kB / 0.6605 GB, free: 15.77 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007461/0.4011, allocations: 1.865 MB / 0.6623 GB, free: 13.91 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009714/0.4021, allocations: 179.7 kB / 0.6625 GB, free: 13.73 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02388/0.426, allocations: 9.554 MB / 0.6718 GB, free: 4.027 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001417/0.4274, allocations: 159 kB / 0.6719 GB, free: 3.871 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001557/0.4276, allocations: 32 kB / 0.672 GB, free: 3.84 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.0004483/0.4281, allocations: 229.6 kB / 0.6722 GB, free: 3.605 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002289/0.4283, allocations: 114.6 kB / 0.6723 GB, free: 3.492 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01349/0.4418, allocations: 3.876 MB / 0.6761 GB, free: 15.6 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.537e-05/0.4419, allocations: 8 kB / 0.6761 GB, free: 15.59 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.4419, allocations: 0 / 0.6761 GB, free: 15.59 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.013e-05/0.4419, allocations: 7.984 kB / 0.6761 GB, free: 15.59 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01514/0.457, allocations: 5.36 MB / 0.6813 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.607e-05/0.4571, allocations: 4 kB / 0.6813 GB, free: 10.08 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006158/0.4577, allocations: 91.89 kB / 0.6814 GB, free: 9.992 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006173/0.4639, allocations: 1.745 MB / 0.6831 GB, free: 8.242 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001633/0.4641, allocations: 16 kB / 0.6831 GB, free: 8.227 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01919/0.4833, allocations: 8.053 MB / 0.691 GB, free: 28 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.4833, allocations: 0 / 0.691 GB, free: 28 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01533/0.4987, allocations: 4.712 MB / 0.6956 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003646/0.4991, allocations: 191.6 kB / 0.6958 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002689/0.4994, allocations: 19.98 kB / 0.6958 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001092/0.5005, allocations: 87.89 kB / 0.6959 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000643/0.5011, allocations: 204.7 kB / 0.6961 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.96e-05/0.5012, allocations: 24 kB / 0.6961 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007024/0.5019, allocations: 0.5421 MB / 0.6966 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5019, allocations: 0 / 0.6966 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001282/0.5032, allocations: 415.6 kB / 0.697 GB, free: 9.793 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.0158/0.519, allocations: 5.294 MB / 0.7022 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007446/0.5265, allocations: 2.391 MB / 0.7045 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.5266, allocations: 0 / 0.7045 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.005035/0.5316, allocations: 1.525 MB / 0.706 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000982/0.5326, allocations: 75.34 kB / 0.7061 GB, free: 456 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0386/0.5712, allocations: 14.62 MB / 0.7204 GB, free: 1.641 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000591/0.5719, allocations: 1.033 MB / 0.7214 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003446/0.5722, allocations: 82.3 kB / 0.7215 GB, free: 0.4961 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005313/0.5728, allocations: 387.2 kB / 0.7218 GB, free: 120 kB / 0.5137 GB Notification: Performance of SimCode: time 8.12e-07/0.5728, allocations: 4 kB / 0.7218 GB, free: 116 kB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06543/0.6382, allocations: 33.43 MB / 0.7545 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.07/15.71, allocations: 15.31 kB / 0.7545 GB, free: 14.79 MB / 0.5606 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)