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.0007324/0.0007324, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.8589/0.8589, allocations: 177.1 MB / 199.4 MB, free: 5.934 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.001122/0.001122, allocations: 160 kB / 256 MB, free: 13.34 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.2614/0.2614, allocations: 80.26 MB / 392.6 MB, free: 2.434 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.Controls.PSAT.TG.TGTypeI_test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_test",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.906e-06/2.906e-06, allocations: 0 / 0.5548 GB, free: 12.7 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.029e-05/3.319e-05, allocations: 5.234 kB / 0.5548 GB, free: 12.69 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test): time 0.005478/0.005512, allocations: 5.355 MB / 0.56 GB, free: 7.305 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002985/0.008496, allocations: 1.751 MB / 0.5617 GB, free: 5.551 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003154/0.008812, allocations: 12 kB / 0.5618 GB, free: 5.539 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004077/0.00922, allocations: 206.1 kB / 0.5619 GB, free: 5.336 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001215/0.01044, allocations: 0.7682 MB / 0.5627 GB, free: 4.566 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000763/0.0112, allocations: 0.5717 MB / 0.5633 GB, free: 4 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001022/0.01222, allocations: 1.377 MB / 0.5646 GB, free: 2.617 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002533/0.01247, allocations: 191.8 kB / 0.5648 GB, free: 2.418 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006084/0.01308, allocations: 0.7948 MB / 0.5656 GB, free: 1.621 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004358/0.01352, allocations: 0.549 MB / 0.5661 GB, free: 1.07 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 8.899e-05/0.01361, allocations: 100 kB / 0.5662 GB, free: 0.9727 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003053/0.01391, allocations: 239.8 kB / 0.5664 GB, free: 0.7383 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000148/0.01406, allocations: 266.8 kB / 0.5667 GB, free: 488 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000237/0.0143, allocations: 398.6 kB / 0.5671 GB, free: 88 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001158/0.01546, allocations: 1.491 MB / 0.5685 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.01546, allocations: 0 / 0.5685 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.142e-06/0.01546, allocations: 0 / 0.5685 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.004e-05/0.01547, allocations: 4 kB / 0.5685 GB, free: 14.59 MB / 0.4948 GB 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.004112/0.01958, allocations: 2.416 MB / 0.5709 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.01962, allocations: 8.031 kB / 0.5709 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001167/0.01974, allocations: 118.5 kB / 0.571 GB, free: 12 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002385/0.02212, allocations: 0.7719 MB / 0.5718 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008/0.02292, allocations: 0.6802 MB / 0.5724 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001864/0.02311, allocations: 299.6 kB / 0.5727 GB, free: 10.17 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/0.02321, allocations: 72 kB / 0.5728 GB, free: 10.1 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001323/0.02453, allocations: 1.094 MB / 0.5738 GB, free: 8.988 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.02455, allocations: 3.938 kB / 0.5738 GB, free: 8.984 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.934e-05/0.02461, allocations: 24 kB / 0.5739 GB, free: 8.961 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.204e-05/0.02462, allocations: 16 kB / 0.5739 GB, free: 8.945 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001347/0.02597, allocations: 1.027 MB / 0.5749 GB, free: 7.918 MB / 0.4948 GB 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.002971/0.02894, allocations: 2.342 MB / 0.5772 GB, free: 5.523 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001598/0.03054, allocations: 1.022 MB / 0.5782 GB, free: 4.492 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008711/0.03141, allocations: 0.672 MB / 0.5788 GB, free: 3.816 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.627e-05/0.03149, allocations: 9 kB / 0.5788 GB, free: 3.805 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.03151, allocations: 51.48 kB / 0.5789 GB, free: 3.746 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=92): time 1.963e-06/0.03151, allocations: 0 / 0.5789 GB, free: 3.746 MB / 0.4948 GB Notification: Performance of matching and sorting (n=92): time 0.01514/0.04665, allocations: 7.356 MB / 0.5861 GB, free: 12.37 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.947e-05/0.04669, allocations: 64.41 kB / 0.5861 GB, free: 12.29 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006776/0.04737, allocations: 0.8514 MB / 0.587 GB, free: 11.42 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.203e-05/0.04743, allocations: 41.7 kB / 0.587 GB, free: 11.37 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000232/0.04766, allocations: 453.2 kB / 0.5874 GB, free: 10.92 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002079/0.04787, allocations: 349 kB / 0.5878 GB, free: 10.58 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002391/0.04811, allocations: 198.9 kB / 0.588 GB, free: 10.38 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.969e-05/0.0482, allocations: 353.9 kB / 0.5883 GB, free: 10.02 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009226/0.04912, allocations: 0.6936 MB / 0.589 GB, free: 9.332 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001093/0.05021, allocations: 0.8219 MB / 0.5898 GB, free: 8.484 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001893/0.05211, allocations: 1.497 MB / 0.5912 GB, free: 6.961 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.05211, allocations: 0 / 0.5912 GB, free: 6.961 MB / 0.5105 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.007405/0.05952, allocations: 4.324 MB / 0.5955 GB, free: 2.621 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/0.05954, allocations: 4 kB / 0.5955 GB, free: 2.617 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.05955, allocations: 4 kB / 0.5955 GB, free: 2.613 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003631/0.06318, allocations: 1.893 MB / 0.5973 GB, free: 0.7148 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004355/0.06361, allocations: 171.7 kB / 0.5975 GB, free: 0.5469 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2103/0.274, allocations: 9.641 MB / 0.6069 GB, free: 88.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009687/0.2749, allocations: 166.2 kB / 0.607 GB, free: 88.25 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.125e-05/0.275, allocations: 38.56 kB / 0.6071 GB, free: 88.25 MB / 0.5105 GB 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.0003018/0.2753, allocations: 238.9 kB / 0.6073 GB, free: 88.06 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001173/0.2754, allocations: 112.1 kB / 0.6074 GB, free: 88 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007179/0.2826, allocations: 4.013 MB / 0.6113 GB, free: 87.2 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/0.2826, allocations: 9.312 kB / 0.6113 GB, free: 87.2 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.2826, allocations: 0 / 0.6113 GB, free: 87.2 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.458e-05/0.2826, allocations: 4.453 kB / 0.6114 GB, free: 87.2 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008636/0.2913, allocations: 4.98 MB / 0.6162 GB, free: 85.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.716e-06/0.2913, allocations: 7.188 kB / 0.6162 GB, free: 85.81 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003468/0.2916, allocations: 93.73 kB / 0.6163 GB, free: 85.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003544/0.2952, allocations: 1.834 MB / 0.6181 GB, free: 85.48 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.785e-05/0.2952, allocations: 21.84 kB / 0.6181 GB, free: 85.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01189/0.3071, allocations: 8.326 MB / 0.6263 GB, free: 81.54 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.3071, allocations: 0 / 0.6263 GB, free: 81.54 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009163/0.3163, allocations: 4.928 MB / 0.6311 GB, free: 80.18 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002678/0.3166, allocations: 132.4 kB / 0.6312 GB, free: 80.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/0.3167, allocations: 15.19 kB / 0.6312 GB, free: 80.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004998/0.3172, allocations: 93.41 kB / 0.6313 GB, free: 80.07 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005036/0.3177, allocations: 211.1 kB / 0.6315 GB, free: 80.03 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.673e-05/0.3177, allocations: 23.75 kB / 0.6315 GB, free: 80.02 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005089/0.3182, allocations: 0.5668 MB / 0.6321 GB, free: 79.77 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9e-08/0.3182, allocations: 10.53 kB / 0.6321 GB, free: 79.76 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001014/0.3193, allocations: 442 kB / 0.6325 GB, free: 79.71 MB / 0.5105 GB 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.008088/0.3273, allocations: 5.5 MB / 0.6379 GB, free: 77.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003546/0.3309, allocations: 2.327 MB / 0.6402 GB, free: 76.71 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3309, allocations: 0.5 kB / 0.6402 GB, free: 76.71 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002329/0.3332, allocations: 1.505 MB / 0.6416 GB, free: 75.91 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00057/0.3338, allocations: 82.19 kB / 0.6417 GB, free: 75.86 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01903/0.3528, allocations: 14.98 MB / 0.6563 GB, free: 61.25 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000243/0.3531, allocations: 472.1 kB / 0.6568 GB, free: 60.75 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002218/0.3533, allocations: 85.78 kB / 0.6569 GB, free: 60.67 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002689/0.3535, allocations: 400.4 kB / 0.6572 GB, free: 60.28 MB / 0.5105 GB Notification: Performance of SimCode: time 1.002e-06/0.3535, allocations: 0 / 0.6572 GB, free: 60.28 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04733/0.4009, allocations: 35.51 MB / 0.6919 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.661/9.062, allocations: 10.39 kB / 0.6919 GB, free: 24.98 MB / 0.5105 GB " [Timeout remaining time 651] (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: 11.392995614558458] Failed to read output from testmodel.py, exit status != 0: 9.166680469177663 9.173526751 9.156340742 Calling exit ...