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.005802/0.005801, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.385/1.385, allocations: 222.9 MB / 239.4 MB, free: 4.547 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.001652/0.001652, allocations: 188.5 kB / 289.7 MB, free: 2.25 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4946/0.4946, allocations: 91.9 MB / 431.8 MB, free: 9.164 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 76.25 kB / 0.5722 GB, free: 33.59 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1232, allocations: 71.29 MB / 0.6419 GB, free: 4.055 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order5test2): time 0.006168/0.1294, allocations: 5.86 MB / 0.6476 GB, free: 14.17 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003375/0.1328, allocations: 1.763 MB / 0.6493 GB, free: 12.4 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005498/0.1334, allocations: 8 kB / 0.6493 GB, free: 12.39 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005154/0.1339, allocations: 210.2 kB / 0.6495 GB, free: 12.19 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001593/0.1356, allocations: 0.7301 MB / 0.6502 GB, free: 11.45 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001134/0.1367, allocations: 0.577 MB / 0.6508 GB, free: 10.88 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001121/0.1378, allocations: 1.284 MB / 0.652 GB, free: 9.594 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003686/0.1382, allocations: 273.9 kB / 0.6523 GB, free: 9.316 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005918/0.1388, allocations: 0.5407 MB / 0.6528 GB, free: 8.773 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006904/0.1395, allocations: 0.6495 MB / 0.6535 GB, free: 8.121 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001329/0.1396, allocations: 88 kB / 0.6536 GB, free: 8.035 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004335/0.1401, allocations: 231.8 kB / 0.6538 GB, free: 7.809 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002226/0.1403, allocations: 254.9 kB / 0.654 GB, free: 7.559 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004592/0.1408, allocations: 0.5554 MB / 0.6546 GB, free: 7 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001357/0.1422, allocations: 1.383 MB / 0.6559 GB, free: 5.613 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.1422, allocations: 0 / 0.6559 GB, free: 5.613 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1422, allocations: 0 / 0.6559 GB, free: 5.613 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.441e-05/0.1422, allocations: 0 / 0.6559 GB, free: 5.613 MB / 462.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.007038/0.1492, allocations: 2.38 MB / 0.6582 GB, free: 3.18 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.1493, allocations: 8.031 kB / 0.6582 GB, free: 3.172 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001357/0.1494, allocations: 122.5 kB / 0.6584 GB, free: 3.043 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004511/0.154, allocations: 0.7596 MB / 0.6591 GB, free: 2.281 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001053/0.155, allocations: 0.7166 MB / 0.6598 GB, free: 1.523 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002587/0.1553, allocations: 248.2 kB / 0.66 GB, free: 1.242 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001354/0.1554, allocations: 68 kB / 0.6601 GB, free: 1.176 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001828/0.1573, allocations: 0.9832 MB / 0.6611 GB, free: 188 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/0.1573, allocations: 0 / 0.6611 GB, free: 188 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.65e-05/0.1574, allocations: 24 kB / 0.6611 GB, free: 164 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.453e-05/0.1574, allocations: 16 kB / 0.6611 GB, free: 148 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001983/0.1594, allocations: 0.9839 MB / 0.6621 GB, free: 15.16 MB / 478.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.1644, allocations: 3.213 MB / 0.6652 GB, free: 11.79 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001975/0.1664, allocations: 1.32 MB / 0.6665 GB, free: 10.35 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001298/0.1677, allocations: 0.711 MB / 0.6672 GB, free: 9.637 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001103/0.1679, allocations: 28.91 kB / 0.6672 GB, free: 9.605 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/0.1679, allocations: 39.56 kB / 0.6672 GB, free: 9.559 MB / 478.1 MB Notification: Performance of pre-optimization done (n=84): time 4.088e-06/0.1679, allocations: 0 / 0.6672 GB, free: 9.559 MB / 478.1 MB Notification: Performance of matching and sorting (n=84): time 0.02229/0.1902, allocations: 6.379 MB / 0.6735 GB, free: 3.148 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.477e-05/0.1903, allocations: 68.34 kB / 0.6735 GB, free: 3.066 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001277/0.1916, allocations: 0.8064 MB / 0.6743 GB, free: 2.234 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001816/0.1918, allocations: 41.7 kB / 0.6744 GB, free: 2.188 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003444/0.1922, allocations: 432.4 kB / 0.6748 GB, free: 1.758 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003474/0.1925, allocations: 299.7 kB / 0.6751 GB, free: 1.461 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003764/0.1929, allocations: 194.8 kB / 0.6753 GB, free: 1.262 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.1931, allocations: 345.9 kB / 0.6756 GB, free: 0.918 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001394/0.1945, allocations: 0.6741 MB / 0.6762 GB, free: 252 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001537/0.196, allocations: 0.8033 MB / 0.677 GB, free: 15.41 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002939/0.199, allocations: 1.451 MB / 0.6784 GB, free: 13.93 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.254e-06/0.199, allocations: 4 kB / 0.6784 GB, free: 13.93 MB / 494.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.0131/0.2121, allocations: 4.207 MB / 0.6826 GB, free: 9.699 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.918e-05/0.2121, allocations: 5.094 kB / 0.6826 GB, free: 9.695 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/0.2122, allocations: 4 kB / 0.6826 GB, free: 9.691 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006456/0.2186, allocations: 1.865 MB / 0.6844 GB, free: 7.824 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008684/0.2195, allocations: 171.8 kB / 0.6845 GB, free: 7.656 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02058/0.2401, allocations: 9.558 MB / 0.6939 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001361/0.2415, allocations: 155 kB / 0.694 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001051/0.2416, allocations: 39.98 kB / 0.6941 GB, free: 13.76 MB / 0.4981 GB 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.0004179/0.2421, allocations: 225.7 kB / 0.6943 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001801/0.2422, allocations: 106.6 kB / 0.6944 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01156/0.2538, allocations: 3.883 MB / 0.6982 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/0.2539, allocations: 8 kB / 0.6982 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.2539, allocations: 0 / 0.6982 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.68e-05/0.2539, allocations: 7.984 kB / 0.6982 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01327/0.2672, allocations: 5.364 MB / 0.7034 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-05/0.2672, allocations: 0 / 0.7034 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005361/0.2677, allocations: 91.83 kB / 0.7035 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005348/0.2731, allocations: 1.741 MB / 0.7052 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001184/0.2732, allocations: 16 kB / 0.7052 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01734/0.2906, allocations: 8.052 MB / 0.7131 GB, free: 9.957 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.2906, allocations: 0 / 0.7131 GB, free: 9.957 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01309/0.3037, allocations: 4.708 MB / 0.7177 GB, free: 5.223 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003437/0.3041, allocations: 191.6 kB / 0.7179 GB, free: 5.016 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001239/0.3043, allocations: 23.92 kB / 0.7179 GB, free: 4.992 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008747/0.3051, allocations: 91.89 kB / 0.718 GB, free: 4.902 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006162/0.3058, allocations: 196.7 kB / 0.7182 GB, free: 4.711 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.971e-05/0.3058, allocations: 24 kB / 0.7182 GB, free: 4.688 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006792/0.3065, allocations: 0.5421 MB / 0.7187 GB, free: 4.133 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3065, allocations: 0 / 0.7187 GB, free: 4.133 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00113/0.3077, allocations: 419.6 kB / 0.7191 GB, free: 3.723 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.01341/0.3211, allocations: 5.292 MB / 0.7243 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006192/0.3273, allocations: 2.397 MB / 0.7266 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.3273, allocations: 4.125 kB / 0.7266 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004154/0.3315, allocations: 1.522 MB / 0.7281 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007677/0.3323, allocations: 75.34 kB / 0.7282 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0356/0.3679, allocations: 14.6 MB / 0.7425 GB, free: 11.58 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006046/0.3686, allocations: 1.033 MB / 0.7435 GB, free: 10.52 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003563/0.3689, allocations: 86.23 kB / 0.7436 GB, free: 10.43 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004682/0.3694, allocations: 387.2 kB / 0.7439 GB, free: 10.05 MB / 0.545 GB Notification: Performance of SimCode: time 6.81e-07/0.3694, allocations: 0 / 0.7439 GB, free: 10.05 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3255/0.6949, allocations: 32.06 MB / 0.7752 GB, free: 118.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.57/15.27, allocations: 7.875 kB / 0.7752 GB, free: 118.4 MB / 0.5606 GB (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/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)