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.09894/0.09894, allocations: 12.59 MB / 28.22 MB, free: 0.7344 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.001093/0.001093, allocations: 111.4 kB / 31.84 MB, free: 3.879 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.233/1.233, 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.001264/0.001264, allocations: 184.5 kB / 290.7 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4113/0.4113, allocations: 78.51 MB / 419.3 MB, free: 11.25 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.005124/0.005124, allocations: 143.1 kB / 0.5554 GB, free: 28.73 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1372, allocations: 68.14 MB / 0.6219 GB, free: 15.91 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order6test2): time 0.005947/0.1432, allocations: 5.996 MB / 0.6278 GB, free: 9.887 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003276/0.1465, allocations: 1.764 MB / 0.6295 GB, free: 8.113 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007277/0.1473, allocations: 11.94 kB / 0.6295 GB, free: 8.102 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000615/0.1479, allocations: 202.3 kB / 0.6297 GB, free: 7.902 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002032/0.1499, allocations: 0.7567 MB / 0.6304 GB, free: 7.145 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001369/0.1513, allocations: 0.5763 MB / 0.631 GB, free: 6.574 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001734/0.1531, allocations: 1.351 MB / 0.6323 GB, free: 5.219 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004851/0.1536, allocations: 271.2 kB / 0.6326 GB, free: 4.938 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008336/0.1544, allocations: 0.5602 MB / 0.6331 GB, free: 4.375 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009054/0.1553, allocations: 0.7001 MB / 0.6338 GB, free: 3.672 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002475/0.1556, allocations: 96 kB / 0.6339 GB, free: 3.578 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005521/0.1562, allocations: 231.9 kB / 0.6341 GB, free: 3.352 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000263/0.1564, allocations: 262.8 kB / 0.6344 GB, free: 3.094 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006632/0.1571, allocations: 0.5709 MB / 0.6349 GB, free: 2.52 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001712/0.1588, allocations: 1.435 MB / 0.6363 GB, free: 1.078 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.1588, allocations: 4 kB / 0.6363 GB, free: 1.074 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.1588, allocations: 0 / 0.6363 GB, free: 1.074 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.542e-05/0.1589, allocations: 4 kB / 0.6363 GB, free: 1.07 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.008269/0.1672, allocations: 2.469 MB / 0.6387 GB, free: 14.55 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.1672, allocations: 11.98 kB / 0.6388 GB, free: 14.54 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001444/0.1674, allocations: 122.5 kB / 0.6389 GB, free: 14.41 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00507/0.1725, allocations: 0.7719 MB / 0.6396 GB, free: 13.63 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001224/0.1737, allocations: 0.7564 MB / 0.6404 GB, free: 12.83 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002643/0.174, allocations: 260.1 kB / 0.6406 GB, free: 12.54 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001507/0.1741, allocations: 72 kB / 0.6407 GB, free: 12.47 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002055/0.1762, allocations: 0.9833 MB / 0.6416 GB, free: 11.48 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/0.1762, allocations: 0 / 0.6416 GB, free: 11.48 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.14e-05/0.1763, allocations: 24 kB / 0.6417 GB, free: 11.46 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.333e-05/0.1764, allocations: 19.94 kB / 0.6417 GB, free: 11.44 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002124/0.1785, allocations: 0.9916 MB / 0.6427 GB, free: 10.45 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.005368/0.1839, allocations: 3.274 MB / 0.6459 GB, free: 7.02 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002085/0.186, allocations: 1.352 MB / 0.6472 GB, free: 5.543 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001467/0.1875, allocations: 0.7188 MB / 0.6479 GB, free: 4.824 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.214e-05/0.1876, allocations: 16.98 kB / 0.6479 GB, free: 4.809 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.1876, allocations: 43.55 kB / 0.6479 GB, free: 4.758 MB / 462.1 MB Notification: Performance of pre-optimization done (n=85): time 2.655e-06/0.1876, allocations: 0 / 0.6479 GB, free: 4.758 MB / 462.1 MB Notification: Performance of matching and sorting (n=85): time 0.02602/0.2136, allocations: 6.563 MB / 0.6543 GB, free: 14.16 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.095e-05/0.2137, allocations: 64.34 kB / 0.6544 GB, free: 14.09 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001149/0.2149, allocations: 0.8469 MB / 0.6552 GB, free: 13.21 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001941/0.2151, allocations: 41.7 kB / 0.6553 GB, free: 13.17 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003189/0.2154, allocations: 445.1 kB / 0.6557 GB, free: 12.73 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003442/0.2158, allocations: 333.1 kB / 0.656 GB, free: 12.4 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003777/0.2162, allocations: 194.9 kB / 0.6562 GB, free: 12.2 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.2163, allocations: 345.9 kB / 0.6565 GB, free: 11.86 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001496/0.2178, allocations: 0.6974 MB / 0.6572 GB, free: 11.16 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00158/0.2194, allocations: 0.819 MB / 0.658 GB, free: 10.31 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002996/0.2224, allocations: 1.49 MB / 0.6595 GB, free: 8.789 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.2224, allocations: 0 / 0.6595 GB, free: 8.789 MB / 478.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01418/0.2366, allocations: 4.277 MB / 0.6636 GB, free: 4.496 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.8e-05/0.2367, allocations: 14.97 kB / 0.6637 GB, free: 4.484 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/0.2367, allocations: 0 / 0.6637 GB, free: 4.484 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007014/0.2437, allocations: 1.846 MB / 0.6655 GB, free: 2.633 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009709/0.2447, allocations: 183.7 kB / 0.6656 GB, free: 2.453 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02264/0.2673, allocations: 9.474 MB / 0.6749 GB, free: 8.828 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001548/0.2689, allocations: 159.2 kB / 0.675 GB, free: 8.672 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001751/0.2691, allocations: 39.98 kB / 0.6751 GB, free: 8.633 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.00047/0.2696, allocations: 222 kB / 0.6753 GB, free: 8.406 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002584/0.2699, allocations: 111.2 kB / 0.6754 GB, free: 8.297 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01308/0.283, allocations: 3.888 MB / 0.6792 GB, free: 4.395 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.471e-05/0.283, allocations: 11.98 kB / 0.6792 GB, free: 4.383 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.283, allocations: 0 / 0.6792 GB, free: 4.383 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-05/0.283, allocations: 7.984 kB / 0.6792 GB, free: 4.375 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01493/0.298, allocations: 5.427 MB / 0.6845 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.107e-06/0.298, allocations: 0 / 0.6845 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000642/0.2987, allocations: 95.83 kB / 0.6846 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006026/0.3047, allocations: 1.749 MB / 0.6863 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001629/0.3049, allocations: 19.98 kB / 0.6863 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01875/0.3237, allocations: 8.059 MB / 0.6942 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.3237, allocations: 0 / 0.6942 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01521/0.3389, allocations: 4.775 MB / 0.6989 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003339/0.3393, allocations: 196.2 kB / 0.6991 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000277/0.3396, allocations: 16 kB / 0.6991 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001174/0.3408, allocations: 91.89 kB / 0.6992 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006544/0.3414, allocations: 208.7 kB / 0.6994 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001093/0.3416, allocations: 16 kB / 0.6994 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007593/0.3423, allocations: 0.5741 MB / 0.6999 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3423, allocations: 7.875 kB / 0.6999 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001301/0.3437, allocations: 427.7 kB / 0.7003 GB, free: 14.39 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.01522/0.3589, allocations: 5.355 MB / 0.7056 GB, free: 8.996 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007057/0.366, allocations: 2.406 MB / 0.7079 GB, free: 6.582 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/0.366, allocations: 4 kB / 0.7079 GB, free: 6.578 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004804/0.3708, allocations: 1.55 MB / 0.7094 GB, free: 5.012 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008785/0.3717, allocations: 87.31 kB / 0.7095 GB, free: 4.926 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2568/0.6285, allocations: 14.94 MB / 0.7241 GB, free: 84.81 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006688/0.6292, allocations: 1.043 MB / 0.7251 GB, free: 84.11 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004038/0.6297, allocations: 82.83 kB / 0.7252 GB, free: 84.09 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005399/0.6302, allocations: 388.2 kB / 0.7256 GB, free: 83.79 MB / 0.5137 GB Notification: Performance of SimCode: time 5.91e-07/0.6302, allocations: 0 / 0.7256 GB, free: 83.79 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05727/0.6875, allocations: 32.53 MB / 0.7573 GB, free: 62.23 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.09/15.78, allocations: 11.62 kB / 0.7574 GB, free: 62.22 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)