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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00192/0.00192, allocations: 116.1 kB / 17.17 MB, free: 6 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.446/1.446, allocations: 230.6 MB / 250.5 MB, free: 9.215 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001621/0.001621, allocations: 213.9 kB / 306.7 MB, free: 4.27 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4533/0.4533, allocations: 79.71 MB / 442.5 MB, free: 15.92 MB / 318.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order5test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order5test2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order5test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order5test2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002375/0.002375, allocations: 79.88 kB / 0.5885 GB, free: 1.379 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.152, allocations: 73.27 MB / 0.6601 GB, free: 8.016 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order5test2): time 0.007586/0.1596, allocations: 5.869 MB / 0.6658 GB, free: 2.105 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003954/0.1635, allocations: 1.809 MB / 0.6675 GB, free: 296 kB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007353/0.1643, allocations: 15.94 kB / 0.6676 GB, free: 280 kB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005671/0.1648, allocations: 202.3 kB / 0.6678 GB, free: 76 kB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001886/0.1667, allocations: 0.7627 MB / 0.6685 GB, free: 15.31 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001327/0.168, allocations: 0.5568 MB / 0.669 GB, free: 14.76 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001635/0.1697, allocations: 1.288 MB / 0.6703 GB, free: 13.47 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003786/0.1701, allocations: 203.1 kB / 0.6705 GB, free: 13.26 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008285/0.1709, allocations: 0.5485 MB / 0.671 GB, free: 12.71 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007918/0.1717, allocations: 0.6689 MB / 0.6717 GB, free: 12.04 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001364/0.1718, allocations: 92 kB / 0.6718 GB, free: 11.95 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005158/0.1723, allocations: 239.9 kB / 0.672 GB, free: 11.71 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002327/0.1726, allocations: 254.8 kB / 0.6722 GB, free: 11.46 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005262/0.1731, allocations: 0.5515 MB / 0.6728 GB, free: 10.91 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001874/0.175, allocations: 1.4 MB / 0.6742 GB, free: 9.504 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.246e-06/0.175, allocations: 3.984 kB / 0.6742 GB, free: 9.5 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.285e-06/0.175, allocations: 8 kB / 0.6742 GB, free: 9.492 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.355e-05/0.175, allocations: 0 / 0.6742 GB, free: 9.492 MB / 478.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.008542/0.1835, allocations: 2.426 MB / 0.6765 GB, free: 7.012 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.345e-05/0.1836, allocations: 12.03 kB / 0.6765 GB, free: 7 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.825e-05/0.1836, allocations: 17.31 kB / 0.6766 GB, free: 6.98 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001565/0.1838, allocations: 114.5 kB / 0.6767 GB, free: 6.859 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005396/0.1892, allocations: 0.768 MB / 0.6774 GB, free: 6.09 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001597/0.1908, allocations: 0.7253 MB / 0.6781 GB, free: 5.32 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003461/0.1911, allocations: 256 kB / 0.6784 GB, free: 5.035 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001606/0.1913, allocations: 68 kB / 0.6784 GB, free: 4.969 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002293/0.1936, allocations: 0.9794 MB / 0.6794 GB, free: 3.98 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.928e-05/0.1936, allocations: 3.984 kB / 0.6794 GB, free: 3.977 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.345e-05/0.1937, allocations: 24 kB / 0.6794 GB, free: 3.953 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.657e-05/0.1937, allocations: 20 kB / 0.6794 GB, free: 3.934 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002275/0.196, allocations: 0.976 MB / 0.6804 GB, free: 2.957 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.006402/0.2024, allocations: 3.225 MB / 0.6835 GB, free: 15.58 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002262/0.2047, allocations: 1.249 MB / 0.6848 GB, free: 14.21 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001517/0.2062, allocations: 0.6368 MB / 0.6854 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001052/0.2063, allocations: 9 kB / 0.6854 GB, free: 13.56 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.863e-05/0.2063, allocations: 51.5 kB / 0.6854 GB, free: 13.5 MB / 494.1 MB Notification: Performance of pre-optimization done (n=84): time 2.946e-06/0.2063, allocations: 0 / 0.6854 GB, free: 13.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=84): time 0.02652/0.2328, allocations: 6.349 MB / 0.6916 GB, free: 7.121 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.904e-05/0.2329, allocations: 64.34 kB / 0.6917 GB, free: 7.047 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00124/0.2341, allocations: 0.8026 MB / 0.6925 GB, free: 6.219 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002201/0.2344, allocations: 41.7 kB / 0.6925 GB, free: 6.172 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003787/0.2347, allocations: 441.1 kB / 0.6929 GB, free: 5.734 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003728/0.2351, allocations: 313.3 kB / 0.6932 GB, free: 5.426 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004171/0.2355, allocations: 198.8 kB / 0.6934 GB, free: 5.227 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000172/0.2357, allocations: 349.9 kB / 0.6938 GB, free: 4.879 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001631/0.2373, allocations: 0.6741 MB / 0.6944 GB, free: 4.203 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001743/0.2391, allocations: 0.8033 MB / 0.6952 GB, free: 3.371 MB / 494.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.003572/0.2426, allocations: 1.565 MB / 0.6967 GB, free: 1.758 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.274e-06/0.2426, allocations: 4 kB / 0.6967 GB, free: 1.754 MB / 494.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.3237/0.5664, allocations: 4.165 MB / 0.7008 GB, free: 34.98 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.844e-05/0.5664, allocations: 8.688 kB / 0.7008 GB, free: 34.98 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.773e-05/0.5664, allocations: 2.75 kB / 0.7008 GB, free: 34.98 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008148/0.5746, allocations: 1.868 MB / 0.7026 GB, free: 34.96 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001049/0.5756, allocations: 175.5 kB / 0.7028 GB, free: 34.96 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02633/0.602, allocations: 9.562 MB / 0.7122 GB, free: 32.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001571/0.6035, allocations: 161.6 kB / 0.7123 GB, free: 32.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001299/0.6037, allocations: 36.95 kB / 0.7123 GB, free: 32.24 MB / 494.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.0004993/0.6042, allocations: 227 kB / 0.7126 GB, free: 32.06 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002648/0.6044, allocations: 109 kB / 0.7127 GB, free: 32 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01336/0.6178, allocations: 3.852 MB / 0.7164 GB, free: 31.13 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.373e-05/0.6178, allocations: 8.562 kB / 0.7164 GB, free: 31.13 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.6178, allocations: 0 / 0.7164 GB, free: 31.13 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.842e-05/0.6178, allocations: 5.016 kB / 0.7164 GB, free: 31.13 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0148/0.6326, allocations: 5.311 MB / 0.7216 GB, free: 28.94 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.651e-05/0.6327, allocations: 3.625 kB / 0.7216 GB, free: 28.94 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006312/0.6333, allocations: 104.6 kB / 0.7217 GB, free: 28.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006551/0.6398, allocations: 1.744 MB / 0.7234 GB, free: 28.16 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003214/0.6402, allocations: 16.41 kB / 0.7234 GB, free: 28.15 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0179/0.6581, allocations: 8.076 MB / 0.7313 GB, free: 23.03 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.6581, allocations: 4 kB / 0.7313 GB, free: 23.03 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01349/0.6715, allocations: 4.687 MB / 0.7359 GB, free: 20.57 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003673/0.6719, allocations: 200.9 kB / 0.7361 GB, free: 20.37 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001467/0.6721, allocations: 19.19 kB / 0.7361 GB, free: 20.36 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009284/0.673, allocations: 91.89 kB / 0.7362 GB, free: 20.27 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005909/0.6736, allocations: 196.7 kB / 0.7364 GB, free: 20.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.506e-05/0.6736, allocations: 27.98 kB / 0.7364 GB, free: 20.04 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005479/0.6742, allocations: 0.5343 MB / 0.7369 GB, free: 19.5 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6742, allocations: 0 / 0.7369 GB, free: 19.5 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00122/0.6754, allocations: 423 kB / 0.7373 GB, free: 19.09 MB / 494.1 MB 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.01352/0.6889, allocations: 5.259 MB / 0.7425 GB, free: 13.81 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006365/0.6953, allocations: 2.274 MB / 0.7447 GB, free: 11.52 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.6953, allocations: 4 kB / 0.7447 GB, free: 11.52 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004407/0.6997, allocations: 1.464 MB / 0.7461 GB, free: 10.05 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007857/0.7005, allocations: 82.94 kB / 0.7462 GB, free: 9.973 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03735/0.7378, allocations: 14.59 MB / 0.7605 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007388/0.7386, allocations: 1.041 MB / 0.7615 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003826/0.739, allocations: 74.31 kB / 0.7616 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005535/0.7395, allocations: 383.3 kB / 0.7619 GB, free: 9.715 MB / 0.4981 GB Notification: Performance of SimCode: time 1.593e-06/0.7395, allocations: 0 / 0.7619 GB, free: 9.715 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06914/0.8087, allocations: 32.42 MB / 0.7936 GB, free: 9.457 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.77/16.58, allocations: 18.64 kB / 0.7936 GB, free: 9.441 MB / 0.5294 GB " [Timeout remaining time 643] (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 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order5test2.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order5test2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.271558848035056] Failed to read output from testmodel.py, exit status != 0: 16.750744025979657 16.768353828 16.590355404 Calling exit ...