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.1628/0.1628, allocations: 12.59 MB / 28.22 MB, free: 0.6914 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.001792/0.001792, allocations: 111.4 kB / 31.84 MB, free: 3.852 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.022/2.022, allocations: 205.1 MB / 240.4 MB, free: 12.38 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.001486/0.001486, allocations: 187.6 kB / 290.7 MB, free: 10.94 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.5967/0.5967, allocations: 78.52 MB / 419.3 MB, free: 10.73 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.005433/0.005433, allocations: 139.3 kB / 0.5554 GB, free: 17.77 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2198/0.2252, allocations: 68.13 MB / 0.6219 GB, free: 13.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order6test2): time 0.00967/0.2349, allocations: 5.995 MB / 0.6278 GB, free: 7.598 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00564/0.2406, allocations: 1.771 MB / 0.6295 GB, free: 5.816 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001022/0.2417, allocations: 12 kB / 0.6295 GB, free: 5.805 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007691/0.2425, allocations: 206.2 kB / 0.6297 GB, free: 5.602 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002863/0.2454, allocations: 0.7063 MB / 0.6304 GB, free: 4.895 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002586/0.248, allocations: 0.5727 MB / 0.631 GB, free: 4.328 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002888/0.2509, allocations: 1.351 MB / 0.6323 GB, free: 2.973 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008036/0.2517, allocations: 267.3 kB / 0.6325 GB, free: 2.695 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001396/0.2532, allocations: 0.5601 MB / 0.6331 GB, free: 2.133 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001539/0.2547, allocations: 0.6923 MB / 0.6338 GB, free: 1.438 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004075/0.2551, allocations: 100 kB / 0.6338 GB, free: 1.34 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009519/0.2561, allocations: 235.9 kB / 0.6341 GB, free: 1.109 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004792/0.2566, allocations: 258.9 kB / 0.6343 GB, free: 0.8555 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001278/0.2579, allocations: 0.5748 MB / 0.6349 GB, free: 284 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003188/0.2611, allocations: 1.434 MB / 0.6363 GB, free: 14.84 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.535e-06/0.2611, allocations: 0 / 0.6363 GB, free: 14.84 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.275e-06/0.2611, allocations: 4 kB / 0.6363 GB, free: 14.84 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.351e-05/0.2612, allocations: 0 / 0.6363 GB, free: 14.84 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.01535/0.2766, allocations: 2.434 MB / 0.6387 GB, free: 12.35 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.082e-05/0.2767, allocations: 11.98 kB / 0.6387 GB, free: 12.34 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004257/0.2771, allocations: 122.4 kB / 0.6388 GB, free: 12.21 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009773/0.2869, allocations: 0.775 MB / 0.6395 GB, free: 11.43 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002362/0.2893, allocations: 0.74 MB / 0.6403 GB, free: 10.64 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004505/0.2898, allocations: 244.2 kB / 0.6405 GB, free: 10.37 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003815/0.2902, allocations: 79.89 kB / 0.6406 GB, free: 10.29 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003494/0.2937, allocations: 0.991 MB / 0.6415 GB, free: 9.297 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.493e-05/0.2938, allocations: 0 / 0.6415 GB, free: 9.297 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001537/0.2939, allocations: 24 kB / 0.6416 GB, free: 9.273 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.376e-05/0.294, allocations: 16 kB / 0.6416 GB, free: 9.258 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003329/0.2973, allocations: 0.9916 MB / 0.6426 GB, free: 8.262 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.008651/0.306, allocations: 3.262 MB / 0.6457 GB, free: 4.848 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003148/0.3091, allocations: 1.356 MB / 0.6471 GB, free: 3.367 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00153/0.3107, allocations: 0.7188 MB / 0.6478 GB, free: 2.648 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001176/0.3108, allocations: 13 kB / 0.6478 GB, free: 2.637 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.889e-05/0.3109, allocations: 39.56 kB / 0.6478 GB, free: 2.59 MB / 462.1 MB Notification: Performance of pre-optimization done (n=85): time 2.535e-06/0.3109, allocations: 4 kB / 0.6478 GB, free: 2.586 MB / 462.1 MB Notification: Performance of matching and sorting (n=85): time 0.02698/0.3379, allocations: 6.559 MB / 0.6542 GB, free: 11.99 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.926e-05/0.338, allocations: 68.28 kB / 0.6543 GB, free: 11.91 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001489/0.3395, allocations: 0.8468 MB / 0.6551 GB, free: 11.04 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002222/0.3397, allocations: 41.7 kB / 0.6552 GB, free: 11 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004088/0.3401, allocations: 444.5 kB / 0.6556 GB, free: 10.55 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005549/0.3407, allocations: 311.5 kB / 0.6559 GB, free: 10.25 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005763/0.3413, allocations: 194.9 kB / 0.6561 GB, free: 10.05 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.3415, allocations: 349.9 kB / 0.6564 GB, free: 9.699 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001712/0.3432, allocations: 0.6897 MB / 0.6571 GB, free: 9.012 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001753/0.345, allocations: 0.8228 MB / 0.6579 GB, free: 8.156 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003352/0.3483, allocations: 1.486 MB / 0.6593 GB, free: 6.641 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.638e-06/0.3483, allocations: 0 / 0.6593 GB, free: 6.641 MB / 478.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01513/0.3635, allocations: 4.277 MB / 0.6635 GB, free: 2.348 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.641e-05/0.3635, allocations: 8 kB / 0.6635 GB, free: 2.34 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.908e-05/0.3636, allocations: 4 kB / 0.6635 GB, free: 2.336 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007443/0.371, allocations: 1.854 MB / 0.6653 GB, free: 484 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001018/0.3721, allocations: 179.8 kB / 0.6655 GB, free: 304 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02446/0.3965, allocations: 9.452 MB / 0.6747 GB, free: 6.691 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001662/0.3982, allocations: 158.9 kB / 0.6749 GB, free: 6.535 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003512/0.3986, allocations: 39.98 kB / 0.6749 GB, free: 6.496 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.0006328/0.3993, allocations: 230 kB / 0.6751 GB, free: 6.262 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003073/0.3996, allocations: 106.6 kB / 0.6752 GB, free: 6.156 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01367/0.4133, allocations: 3.88 MB / 0.679 GB, free: 2.262 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.795e-05/0.4133, allocations: 12 kB / 0.679 GB, free: 2.25 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.4133, allocations: 0 / 0.679 GB, free: 2.25 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.23e-05/0.4134, allocations: 3.984 kB / 0.679 GB, free: 2.246 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2993/0.7127, allocations: 5.419 MB / 0.6843 GB, free: 53.39 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.027e-06/0.7127, allocations: 0 / 0.6843 GB, free: 53.39 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006718/0.7134, allocations: 94.48 kB / 0.6844 GB, free: 53.38 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006526/0.72, allocations: 1.754 MB / 0.6861 GB, free: 53.36 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000161/0.7201, allocations: 20.56 kB / 0.6862 GB, free: 53.36 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02123/0.7414, allocations: 8.036 MB / 0.694 GB, free: 49.93 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.7414, allocations: 1.953 kB / 0.694 GB, free: 49.93 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01544/0.7569, allocations: 4.779 MB / 0.6987 GB, free: 48.64 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00041/0.7573, allocations: 192.7 kB / 0.6989 GB, free: 48.48 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001394/0.7574, allocations: 19.5 kB / 0.6989 GB, free: 48.46 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001034/0.7585, allocations: 87.7 kB / 0.699 GB, free: 48.45 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007718/0.7593, allocations: 213.6 kB / 0.6992 GB, free: 48.39 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.516e-05/0.7594, allocations: 23.53 kB / 0.6992 GB, free: 48.39 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007522/0.7601, allocations: 0.5683 MB / 0.6997 GB, free: 48.13 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.7601, allocations: 0 / 0.6997 GB, free: 48.13 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001518/0.7616, allocations: 431.2 kB / 0.7001 GB, free: 48.08 MB / 494.1 MB 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.01507/0.7767, allocations: 5.347 MB / 0.7054 GB, free: 46.2 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006908/0.7837, allocations: 2.401 MB / 0.7077 GB, free: 45.35 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.7837, allocations: 0 / 0.7077 GB, free: 45.35 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004651/0.7884, allocations: 1.529 MB / 0.7092 GB, free: 44.7 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008331/0.7892, allocations: 81.16 kB / 0.7093 GB, free: 44.64 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03369/0.8229, allocations: 14.92 MB / 0.7239 GB, free: 31.93 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004022/0.8234, allocations: 1.041 MB / 0.7249 GB, free: 30.87 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003325/0.8237, allocations: 78.45 kB / 0.7249 GB, free: 30.79 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004288/0.8241, allocations: 395.3 kB / 0.7253 GB, free: 30.4 MB / 494.1 MB Notification: Performance of SimCode: time 1.001e-06/0.8241, allocations: 3.938 kB / 0.7253 GB, free: 30.39 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05304/0.8772, allocations: 33.92 MB / 0.7585 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.31/30.19, allocations: 6.984 kB / 0.7585 GB, free: 12.54 MB / 0.4981 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order6test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order6test2.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe 2>&1)