Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order6test2.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.0008012/0.0008012, allocations: 72.45 kB / 19.17 MB, free: 0.7344 MB / 13.93 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 0.8529/0.8529, allocations: 177.1 MB / 199.4 MB, free: 5.926 MB / 186.7 MB " [Timeout remaining time 179] 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.001026/0.001026, allocations: 152.7 kB / 256 MB, free: 13.33 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.2596/0.2596, allocations: 80.24 MB / 392.6 MB, free: 2.445 MB / 314.7 MB " [Timeout remaining time 180] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/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.Order6test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order6test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order6test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order6test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.5548 GB, free: 12.3 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.286e-05/1.428e-05, allocations: 2.281 kB / 0.5548 GB, free: 12.3 MB / 442.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order6test2): time 0.004129/0.004143, allocations: 5.262 MB / 0.5599 GB, free: 7 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002377/0.00652, allocations: 1.775 MB / 0.5617 GB, free: 5.223 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002558/0.006775, allocations: 8 kB / 0.5617 GB, free: 5.215 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003231/0.007099, allocations: 210.1 kB / 0.5619 GB, free: 5.008 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001006/0.008105, allocations: 0.764 MB / 0.5626 GB, free: 4.246 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006345/0.008739, allocations: 0.5797 MB / 0.5632 GB, free: 3.672 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008561/0.009595, allocations: 1.389 MB / 0.5645 GB, free: 2.277 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002467/0.009842, allocations: 171.7 kB / 0.5647 GB, free: 2.098 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000589/0.01043, allocations: 0.7909 MB / 0.5655 GB, free: 1.305 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004511/0.01088, allocations: 0.5452 MB / 0.566 GB, free: 0.7578 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 9.505e-05/0.01098, allocations: 103.9 kB / 0.5661 GB, free: 0.6562 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002731/0.01125, allocations: 247.8 kB / 0.5663 GB, free: 424 kB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001424/0.01139, allocations: 262.8 kB / 0.5666 GB, free: 160 kB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.2028/0.2142, allocations: 389 kB / 0.567 GB, free: 16.6 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001638/0.2159, allocations: 1.487 MB / 0.5684 GB, free: 16.53 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.2159, allocations: 1.188 kB / 0.5684 GB, free: 16.53 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2159, allocations: 1.688 kB / 0.5684 GB, free: 16.53 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.675e-05/0.2159, allocations: 0 / 0.5684 GB, free: 16.53 MB / 442.7 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.004244/0.2201, allocations: 2.407 MB / 0.5708 GB, free: 15.77 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.2202, allocations: 9.375 kB / 0.5708 GB, free: 15.77 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001187/0.2203, allocations: 120.3 kB / 0.5709 GB, free: 15.73 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002409/0.2227, allocations: 0.7647 MB / 0.5716 GB, free: 15.65 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008643/0.2236, allocations: 0.6887 MB / 0.5723 GB, free: 15.38 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001783/0.2237, allocations: 303.6 kB / 0.5726 GB, free: 15.12 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/0.2239, allocations: 69.81 kB / 0.5727 GB, free: 15.12 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001426/0.2253, allocations: 0.9803 MB / 0.5736 GB, free: 15.06 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.2253, allocations: 3.656 kB / 0.5736 GB, free: 15.06 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.472e-05/0.2254, allocations: 32.09 kB / 0.5737 GB, free: 15.05 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.538e-05/0.2254, allocations: 16.47 kB / 0.5737 GB, free: 15.05 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001344/0.2267, allocations: 0.9862 MB / 0.5746 GB, free: 15.01 MB / 442.7 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.003273/0.23, allocations: 2.446 MB / 0.577 GB, free: 13.82 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001238/0.2312, allocations: 0.8138 MB / 0.5778 GB, free: 13.52 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008776/0.2321, allocations: 0.6504 MB / 0.5785 GB, free: 13.28 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.239e-05/0.2322, allocations: 11.22 kB / 0.5785 GB, free: 13.28 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.828e-05/0.2322, allocations: 44.61 kB / 0.5785 GB, free: 13.23 MB / 442.7 MB Notification: Performance of pre-optimization done (n=85): time 1.974e-06/0.2322, allocations: 0 / 0.5785 GB, free: 13.23 MB / 442.7 MB Notification: Performance of matching and sorting (n=85): time 0.01363/0.2458, allocations: 6.455 MB / 0.5848 GB, free: 12.16 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.817e-05/0.2459, allocations: 60.47 kB / 0.5849 GB, free: 12.09 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007221/0.2466, allocations: 0.8516 MB / 0.5857 GB, free: 11.71 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.254e-05/0.2467, allocations: 41.64 kB / 0.5857 GB, free: 11.67 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001731/0.2468, allocations: 453.9 kB / 0.5862 GB, free: 11.3 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001842/0.247, allocations: 316.3 kB / 0.5865 GB, free: 11.04 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002502/0.2473, allocations: 202.3 kB / 0.5867 GB, free: 10.91 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.45e-05/0.2473, allocations: 350.9 kB / 0.587 GB, free: 10.57 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009201/0.2482, allocations: 0.6887 MB / 0.5877 GB, free: 10.23 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009714/0.2492, allocations: 0.8189 MB / 0.5885 GB, free: 9.766 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001827/0.251, allocations: 1.489 MB / 0.5899 GB, free: 8.957 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.251, allocations: 1.406 kB / 0.5899 GB, free: 8.957 MB / 442.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.007343/0.2584, allocations: 4.248 MB / 0.5941 GB, free: 6.91 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.2584, allocations: 12.81 kB / 0.5941 GB, free: 6.91 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.2584, allocations: 2.844 kB / 0.5941 GB, free: 6.91 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003625/0.262, allocations: 1.851 MB / 0.5959 GB, free: 6.098 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000506/0.2625, allocations: 179.4 kB / 0.5961 GB, free: 6.07 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01194/0.2745, allocations: 9.158 MB / 0.605 GB, free: 15.1 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008753/0.2753, allocations: 163.2 kB / 0.6052 GB, free: 14.94 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.444e-05/0.2754, allocations: 39.98 kB / 0.6052 GB, free: 14.9 MB / 458.7 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.0003454/0.2758, allocations: 224.2 kB / 0.6054 GB, free: 14.68 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001295/0.2759, allocations: 111.3 kB / 0.6055 GB, free: 14.57 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006446/0.2823, allocations: 3.852 MB / 0.6093 GB, free: 10.73 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.203e-06/0.2823, allocations: 12 kB / 0.6093 GB, free: 10.72 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.2823, allocations: 3.938 kB / 0.6093 GB, free: 10.71 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.2824, allocations: 7.359 kB / 0.6093 GB, free: 10.71 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007666/0.29, allocations: 4.779 MB / 0.614 GB, free: 5.934 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.29, allocations: 0 / 0.614 GB, free: 5.934 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002885/0.2903, allocations: 95.5 kB / 0.6141 GB, free: 5.844 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002934/0.2932, allocations: 1.741 MB / 0.6158 GB, free: 4.102 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.153e-05/0.2933, allocations: 16 kB / 0.6158 GB, free: 4.086 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01031/0.3036, allocations: 7.77 MB / 0.6234 GB, free: 12.22 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3036, allocations: 0 / 0.6234 GB, free: 12.22 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007741/0.3114, allocations: 4.741 MB / 0.628 GB, free: 7.484 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002271/0.3116, allocations: 123.1 kB / 0.6281 GB, free: 7.363 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.345e-05/0.3117, allocations: 18.95 kB / 0.6281 GB, free: 7.348 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004861/0.3122, allocations: 95.89 kB / 0.6282 GB, free: 7.254 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003409/0.3125, allocations: 208.5 kB / 0.6284 GB, free: 7.051 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.149e-05/0.3125, allocations: 24 kB / 0.6285 GB, free: 7.027 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.000493/0.313, allocations: 0.5702 MB / 0.629 GB, free: 6.445 MB / 474.7 MB Notification: Performance of sort global known variables: time 8e-08/0.313, allocations: 0 / 0.629 GB, free: 6.445 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0009677/0.314, allocations: 439.7 kB / 0.6294 GB, free: 6.016 MB / 474.7 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.007962/0.322, allocations: 5.312 MB / 0.6346 GB, free: 0.7109 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003634/0.3256, allocations: 2.297 MB / 0.6369 GB, free: 14.41 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3256, allocations: 0 / 0.6369 GB, free: 14.41 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002205/0.3278, allocations: 1.464 MB / 0.6383 GB, free: 12.95 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004411/0.3282, allocations: 79.33 kB / 0.6384 GB, free: 12.87 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02075/0.349, allocations: 14.71 MB / 0.6527 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003121/0.3493, allocations: 459.1 kB / 0.6532 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.000211/0.3495, allocations: 78.48 kB / 0.6532 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003456/0.3499, allocations: 392.4 kB / 0.6536 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of SimCode: time 2.034e-06/0.3499, allocations: 0 / 0.6536 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04531/0.3952, allocations: 34.83 MB / 0.6876 GB, free: 10.49 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.159/8.554, allocations: 4 kB / 0.6876 GB, free: 10.48 MB / 0.5261 GB " [Timeout remaining time 651] (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order6test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order6test2_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order6test2.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order6test2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.89144794177264] Failed to read output from testmodel.py, exit status != 0: 8.654262512922287 8.662532046 8.445019779 Calling exit ...