Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.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.001244/0.001244, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.431/1.431, allocations: 230.6 MB / 250.5 MB, free: 9.23 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.001533/0.001533, allocations: 212.3 kB / 306.7 MB, free: 4.293 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.4348/0.4348, allocations: 79.71 MB / 442.5 MB, free: 168 kB / 302.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.Controls.PSAT.TG.TGTypeI_test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_test",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_test",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.002412/0.002412, allocations: 79.88 kB / 0.5885 GB, free: 1.57 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.14, allocations: 73.26 MB / 0.6601 GB, free: 8.215 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test): time 0.00731/0.1473, allocations: 6.079 MB / 0.666 GB, free: 2.094 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003448/0.1508, allocations: 1.829 MB / 0.6678 GB, free: 264 kB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003646/0.1511, allocations: 11.94 kB / 0.6678 GB, free: 252 kB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004591/0.1516, allocations: 210.2 kB / 0.668 GB, free: 40 kB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001653/0.1532, allocations: 0.7633 MB / 0.6687 GB, free: 15.27 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001258/0.1545, allocations: 0.5763 MB / 0.6693 GB, free: 14.7 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001471/0.156, allocations: 1.339 MB / 0.6706 GB, free: 13.36 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000352/0.1563, allocations: 195.4 kB / 0.6708 GB, free: 13.16 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007456/0.1571, allocations: 0.5874 MB / 0.6714 GB, free: 12.57 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007988/0.1579, allocations: 0.7 MB / 0.672 GB, free: 11.87 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001542/0.158, allocations: 96 kB / 0.6721 GB, free: 11.77 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004713/0.1585, allocations: 255.8 kB / 0.6724 GB, free: 11.52 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002314/0.1587, allocations: 258.9 kB / 0.6726 GB, free: 11.27 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005183/0.1592, allocations: 0.5786 MB / 0.6732 GB, free: 10.69 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001634/0.1609, allocations: 1.466 MB / 0.6746 GB, free: 9.215 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.1609, allocations: 4 kB / 0.6746 GB, free: 9.211 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1609, allocations: 0 / 0.6746 GB, free: 9.211 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.578e-05/0.1609, allocations: 0 / 0.6746 GB, free: 9.211 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.008377/0.1693, allocations: 2.503 MB / 0.6771 GB, free: 6.652 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.1693, allocations: 12.03 kB / 0.6771 GB, free: 6.641 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.352e-05/0.1694, allocations: 17.31 kB / 0.6771 GB, free: 6.621 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001613/0.1695, allocations: 122.5 kB / 0.6772 GB, free: 6.492 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005202/0.1747, allocations: 0.7719 MB / 0.678 GB, free: 5.719 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001233/0.176, allocations: 0.7485 MB / 0.6787 GB, free: 4.926 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003023/0.1763, allocations: 252.2 kB / 0.6789 GB, free: 4.645 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001582/0.1764, allocations: 75.94 kB / 0.679 GB, free: 4.57 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002351/0.1788, allocations: 1.079 MB / 0.6801 GB, free: 3.477 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.1788, allocations: 0 / 0.6801 GB, free: 3.477 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.735e-05/0.1789, allocations: 24 kB / 0.6801 GB, free: 3.453 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.726e-05/0.1789, allocations: 16 kB / 0.6801 GB, free: 3.438 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002423/0.1813, allocations: 1.042 MB / 0.6811 GB, free: 2.395 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.005406/0.1867, allocations: 3.061 MB / 0.6841 GB, free: 15.2 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003243/0.19, allocations: 1.489 MB / 0.6856 GB, free: 13.58 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001558/0.1915, allocations: 0.672 MB / 0.6862 GB, free: 12.91 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000112/0.1916, allocations: 20.89 kB / 0.6862 GB, free: 12.89 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/0.1917, allocations: 39.56 kB / 0.6863 GB, free: 12.84 MB / 494.1 MB Notification: Performance of pre-optimization done (n=92): time 2.565e-06/0.1917, allocations: 0 / 0.6863 GB, free: 12.84 MB / 494.1 MB Notification: Performance of matching and sorting (n=92): time 0.0319/0.2236, allocations: 7.441 MB / 0.6936 GB, free: 5.367 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.038e-05/0.2236, allocations: 60.41 kB / 0.6936 GB, free: 5.297 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001274/0.2249, allocations: 0.8398 MB / 0.6944 GB, free: 4.434 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001302/0.225, allocations: 41.7 kB / 0.6945 GB, free: 4.387 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003892/0.2254, allocations: 461.1 kB / 0.6949 GB, free: 3.93 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003917/0.2258, allocations: 353 kB / 0.6952 GB, free: 3.582 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004256/0.2262, allocations: 190.9 kB / 0.6954 GB, free: 3.391 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.2264, allocations: 353.9 kB / 0.6958 GB, free: 3.039 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001658/0.2281, allocations: 0.6975 MB / 0.6964 GB, free: 2.34 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001763/0.2298, allocations: 0.8142 MB / 0.6972 GB, free: 1.5 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2659/0.4957, allocations: 1.496 MB / 0.6987 GB, free: 34.64 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-05/0.4957, allocations: 0 / 0.6987 GB, free: 34.64 MB / 494.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.0158/0.5115, allocations: 4.321 MB / 0.7029 GB, free: 34.55 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.95e-05/0.5115, allocations: 5.625 kB / 0.7029 GB, free: 34.55 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/0.5116, allocations: 3.234 kB / 0.7029 GB, free: 34.55 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007362/0.5189, allocations: 1.891 MB / 0.7048 GB, free: 34.52 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009483/0.5199, allocations: 178.1 kB / 0.7049 GB, free: 34.51 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02791/0.5478, allocations: 9.974 MB / 0.7147 GB, free: 30.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002069/0.5498, allocations: 164.5 kB / 0.7148 GB, free: 30.86 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001864/0.55, allocations: 40.58 kB / 0.7149 GB, free: 30.85 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 {(25,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0005848/0.5506, allocations: 233.2 kB / 0.7151 GB, free: 30.65 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003287/0.5509, allocations: 116.4 kB / 0.7152 GB, free: 30.59 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0213/0.5722, allocations: 4.013 MB / 0.7191 GB, free: 29.69 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.859e-05/0.5723, allocations: 9.188 kB / 0.7191 GB, free: 29.69 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.5723, allocations: 5.922 kB / 0.7191 GB, free: 29.68 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.416e-05/0.5723, allocations: 9.078 kB / 0.7192 GB, free: 29.68 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02492/0.5972, allocations: 5.597 MB / 0.7246 GB, free: 27.02 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.56e-05/0.5972, allocations: 0 / 0.7246 GB, free: 27.02 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008162/0.598, allocations: 89.25 kB / 0.7247 GB, free: 27 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007763/0.6058, allocations: 1.843 MB / 0.7265 GB, free: 26.21 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001578/0.606, allocations: 15.94 kB / 0.7265 GB, free: 26.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01861/0.6246, allocations: 8.632 MB / 0.735 GB, free: 20.79 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.6246, allocations: 0 / 0.735 GB, free: 20.79 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01421/0.6388, allocations: 4.937 MB / 0.7398 GB, free: 16.56 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003354/0.6391, allocations: 201.3 kB / 0.74 GB, free: 16.36 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001554/0.6393, allocations: 16 kB / 0.74 GB, free: 16.34 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009762/0.6403, allocations: 95.89 kB / 0.7401 GB, free: 16.25 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005532/0.6408, allocations: 200.7 kB / 0.7403 GB, free: 16.05 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.591e-05/0.6409, allocations: 20 kB / 0.7403 GB, free: 16.03 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005554/0.6414, allocations: 0.5667 MB / 0.7408 GB, free: 15.45 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6414, allocations: 0 / 0.7408 GB, free: 15.45 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00118/0.6426, allocations: 444.9 kB / 0.7413 GB, free: 15.03 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (gen.delta,gen.w,gen.e1q,tGTypeI.xg1,tGTypeI.xg2,tGTypeI.xg3) * 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 (55): * Single equations (assignments): 54 * 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,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01434/0.6569, allocations: 5.509 MB / 0.7466 GB, free: 9.496 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006344/0.6633, allocations: 2.337 MB / 0.7489 GB, free: 7.148 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.6633, allocations: 0 / 0.7489 GB, free: 7.148 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004438/0.6677, allocations: 1.503 MB / 0.7504 GB, free: 5.633 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007698/0.6685, allocations: 91.84 kB / 0.7505 GB, free: 5.547 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03983/0.7083, allocations: 15.12 MB / 0.7652 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008479/0.7092, allocations: 1.057 MB / 0.7663 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003627/0.7095, allocations: 86.75 kB / 0.7664 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006156/0.7102, allocations: 395.3 kB / 0.7667 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of SimCode: time 1.002e-06/0.7102, allocations: 0 / 0.7667 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07062/0.7808, allocations: 33.79 MB / 0.7997 GB, free: 3.059 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.91/17.69, allocations: 14.33 kB / 0.7998 GB, free: 3.047 MB / 0.5294 GB " [Timeout remaining time 642] (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_test_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_test.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.31580695597222] Failed to read output from testmodel.py, exit status != 0: 17.86544863396557 17.886966117 17.722133369 Calling exit ...