Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order6test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) 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 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order6test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order6test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order6test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order6test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07505/0.07505, allocations: 12.59 MB / 28.23 MB, free: 0.7695 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 115.4 kB / 31.84 MB, free: 3.902 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.262/1.262, allocations: 205.1 MB / 240.4 MB, free: 12.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 191.4 kB / 290.7 MB, free: 13.4 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4014/0.4014, allocations: 78.51 MB / 419.3 MB, free: 11.27 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003728/0.003728, allocations: 140.1 kB / 0.5554 GB, free: 28.77 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1198, allocations: 68.13 MB / 0.6219 GB, free: 15.95 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order6test2): time 0.006742/0.1266, allocations: 6.003 MB / 0.6278 GB, free: 9.918 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003678/0.1303, allocations: 1.771 MB / 0.6295 GB, free: 8.137 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004021/0.1307, allocations: 8 kB / 0.6295 GB, free: 8.129 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004468/0.1312, allocations: 206.2 kB / 0.6297 GB, free: 7.926 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001541/0.1327, allocations: 0.6988 MB / 0.6304 GB, free: 7.223 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001287/0.134, allocations: 0.5846 MB / 0.631 GB, free: 6.645 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001518/0.1356, allocations: 1.335 MB / 0.6323 GB, free: 5.305 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004281/0.136, allocations: 283.2 kB / 0.6325 GB, free: 5.012 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000699/0.1367, allocations: 0.5563 MB / 0.6331 GB, free: 4.453 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008143/0.1375, allocations: 0.6962 MB / 0.6338 GB, free: 3.754 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001503/0.1377, allocations: 96 kB / 0.6339 GB, free: 3.66 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004637/0.1382, allocations: 239.8 kB / 0.6341 GB, free: 3.426 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002365/0.1384, allocations: 258.9 kB / 0.6343 GB, free: 3.172 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005191/0.1389, allocations: 0.5709 MB / 0.6349 GB, free: 2.598 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001562/0.1405, allocations: 1.439 MB / 0.6363 GB, free: 1.152 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.1405, allocations: 4 kB / 0.6363 GB, free: 1.148 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1405, allocations: 0 / 0.6363 GB, free: 1.148 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.193e-05/0.1406, allocations: 0 / 0.6363 GB, free: 1.148 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.007706/0.1483, allocations: 2.473 MB / 0.6387 GB, free: 14.61 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.1483, allocations: 15.98 kB / 0.6387 GB, free: 14.6 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001477/0.1485, allocations: 114.5 kB / 0.6388 GB, free: 14.48 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004733/0.1532, allocations: 0.7719 MB / 0.6396 GB, free: 13.7 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001269/0.1545, allocations: 0.7564 MB / 0.6403 GB, free: 12.9 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000299/0.1548, allocations: 252.2 kB / 0.6406 GB, free: 12.62 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001373/0.155, allocations: 67.98 kB / 0.6406 GB, free: 12.55 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002115/0.1571, allocations: 0.9871 MB / 0.6416 GB, free: 11.56 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.1571, allocations: 0 / 0.6416 GB, free: 11.56 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-05/0.1572, allocations: 24 kB / 0.6416 GB, free: 11.54 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.82e-05/0.1572, allocations: 20 kB / 0.6416 GB, free: 11.52 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00223/0.1595, allocations: 0.9916 MB / 0.6426 GB, free: 10.52 MB / 462.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.005816/0.1653, allocations: 3.274 MB / 0.6458 GB, free: 7.098 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002321/0.1676, allocations: 1.348 MB / 0.6471 GB, free: 5.625 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001512/0.1691, allocations: 0.7227 MB / 0.6478 GB, free: 4.902 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001067/0.1693, allocations: 12.98 kB / 0.6478 GB, free: 4.891 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/0.1693, allocations: 43.56 kB / 0.6479 GB, free: 4.84 MB / 462.1 MB Notification: Performance of pre-optimization done (n=85): time 3.296e-06/0.1693, allocations: 0 / 0.6479 GB, free: 4.84 MB / 462.1 MB Notification: Performance of matching and sorting (n=85): time 0.02646/0.1958, allocations: 6.563 MB / 0.6543 GB, free: 14.24 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.437e-05/0.1959, allocations: 68.34 kB / 0.6544 GB, free: 14.16 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001243/0.1971, allocations: 0.8469 MB / 0.6552 GB, free: 13.29 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001952/0.1973, allocations: 45.64 kB / 0.6552 GB, free: 13.24 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004062/0.1977, allocations: 445.1 kB / 0.6557 GB, free: 12.8 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003402/0.1981, allocations: 329.2 kB / 0.656 GB, free: 12.48 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003993/0.1985, allocations: 194.9 kB / 0.6562 GB, free: 12.28 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.1986, allocations: 345.9 kB / 0.6565 GB, free: 11.93 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001567/0.2002, allocations: 0.6975 MB / 0.6572 GB, free: 11.24 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001735/0.202, allocations: 0.815 MB / 0.658 GB, free: 10.39 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003165/0.2051, allocations: 1.486 MB / 0.6594 GB, free: 8.875 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.2052, allocations: 0 / 0.6594 GB, free: 8.875 MB / 478.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01439/0.2196, allocations: 4.289 MB / 0.6636 GB, free: 4.57 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.827e-05/0.2196, allocations: 8 kB / 0.6636 GB, free: 4.562 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-05/0.2196, allocations: 4 kB / 0.6636 GB, free: 4.559 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007204/0.2269, allocations: 1.85 MB / 0.6654 GB, free: 2.703 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009523/0.2278, allocations: 175.8 kB / 0.6656 GB, free: 2.531 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02319/0.251, allocations: 9.469 MB / 0.6748 GB, free: 8.91 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0014/0.2525, allocations: 163.2 kB / 0.675 GB, free: 8.75 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001006/0.2526, allocations: 40 kB / 0.675 GB, free: 8.711 MB / 494.1 MB 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 (106): * Single equations (assignments): 105 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0004101/0.253, allocations: 230 kB / 0.6752 GB, free: 8.477 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001818/0.2532, allocations: 111.2 kB / 0.6754 GB, free: 8.367 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01326/0.2664, allocations: 3.884 MB / 0.6791 GB, free: 4.469 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-05/0.2665, allocations: 12 kB / 0.6792 GB, free: 4.457 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.2665, allocations: 3.938 kB / 0.6792 GB, free: 4.453 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.733e-05/0.2665, allocations: 3.984 kB / 0.6792 GB, free: 4.449 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01523/0.2818, allocations: 5.427 MB / 0.6845 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.004e-05/0.2818, allocations: 3.938 kB / 0.6845 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006167/0.2824, allocations: 91.89 kB / 0.6846 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005968/0.2884, allocations: 1.745 MB / 0.6863 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001121/0.2885, allocations: 16 kB / 0.6863 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01932/0.3079, allocations: 8.071 MB / 0.6942 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.3079, allocations: 0 / 0.6942 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.015/0.3229, allocations: 4.775 MB / 0.6988 GB, free: 8 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003294/0.3233, allocations: 200.2 kB / 0.699 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001384/0.3234, allocations: 16 kB / 0.699 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009751/0.3244, allocations: 87.89 kB / 0.6991 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006195/0.325, allocations: 200.7 kB / 0.6993 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.189e-05/0.3251, allocations: 23.98 kB / 0.6993 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007684/0.3259, allocations: 0.5702 MB / 0.6999 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3259, allocations: 3.938 kB / 0.6999 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001113/0.327, allocations: 431.7 kB / 0.7003 GB, free: 14.46 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (order6Type2_1.delta,order6Type2_1.w,order6Type2_1.e1q,order6Type2_1.e1d,order6Type2_1.e2q,order6Type2_1.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 (52): * Single equations (assignments): 51 * 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.01574/0.3427, allocations: 5.347 MB / 0.7055 GB, free: 9.078 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007004/0.3498, allocations: 2.414 MB / 0.7079 GB, free: 6.656 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.3498, allocations: 0 / 0.7079 GB, free: 6.656 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004797/0.3546, allocations: 1.55 MB / 0.7094 GB, free: 5.086 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007365/0.3554, allocations: 83.33 kB / 0.7095 GB, free: 5.004 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2661/0.6215, allocations: 14.95 MB / 0.7241 GB, free: 84.4 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005116/0.622, allocations: 1.043 MB / 0.7251 GB, free: 83.7 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003759/0.6224, allocations: 78.47 kB / 0.7252 GB, free: 83.69 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004466/0.6229, allocations: 388.8 kB / 0.7255 GB, free: 83.39 MB / 0.5137 GB Notification: Performance of SimCode: time 9.62e-07/0.6229, allocations: 3.969 kB / 0.7255 GB, free: 83.39 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06063/0.6835, allocations: 32.52 MB / 0.7573 GB, free: 61.92 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.66/15.35, allocations: 14.56 kB / 0.7573 GB, free: 61.91 MB / 0.5137 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order6test2.sim & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order6test2_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order6test2.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe 2>&1)