Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/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/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_test",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.08142/0.08142, allocations: 12.2 MB / 27.47 MB, free: 0.9336 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.0007706/0.0007708, allocations: 95.53 kB / 30.99 MB, free: 4.535 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.261/1.261, allocations: 205.4 MB / 239.8 MB, free: 13.54 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.001209/0.001209, allocations: 184.5 kB / 291 MB, free: 11.55 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4306/0.4306, allocations: 78.53 MB / 420.5 MB, free: 11.52 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.0008462/0.0008463, allocations: 32 kB / 0.4902 GB, free: 9.961 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2657/0.2666, allocations: 69.24 MB / 0.5578 GB, free: 20.88 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test): time 0.003982/0.2706, allocations: 5.973 MB / 0.5637 GB, free: 14.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002872/0.2735, allocations: 1.795 MB / 0.5654 GB, free: 13.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004657/0.274, allocations: 8 kB / 0.5654 GB, free: 13.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003689/0.2744, allocations: 170.9 kB / 0.5656 GB, free: 12.9 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001261/0.2756, allocations: 0.6217 MB / 0.5662 GB, free: 12.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000891/0.2765, allocations: 0.526 MB / 0.5667 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008199/0.2774, allocations: 1.269 MB / 0.5679 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002903/0.2777, allocations: 244.1 kB / 0.5682 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004035/0.2781, allocations: 0.5014 MB / 0.5687 GB, free: 9.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000456/0.2786, allocations: 0.6337 MB / 0.5693 GB, free: 9.094 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.311e-05/0.2786, allocations: 56 kB / 0.5693 GB, free: 9.039 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003158/0.279, allocations: 183.8 kB / 0.5695 GB, free: 8.859 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001241/0.2791, allocations: 206.9 kB / 0.5697 GB, free: 8.656 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002913/0.2794, allocations: 0.553 MB / 0.5702 GB, free: 8.094 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007898/0.2802, allocations: 1.354 MB / 0.5716 GB, free: 6.734 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2802, allocations: 3.938 kB / 0.5716 GB, free: 6.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2802, allocations: 3.938 kB / 0.5716 GB, free: 6.727 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.829e-06/0.2802, allocations: 4 kB / 0.5716 GB, free: 6.723 MB / 382.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.006752/0.287, allocations: 2.291 MB / 0.5738 GB, free: 4.375 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.287, allocations: 11.98 kB / 0.5738 GB, free: 4.363 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001979/0.2872, allocations: 118.5 kB / 0.5739 GB, free: 4.238 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004681/0.2919, allocations: 0.7673 MB / 0.5747 GB, free: 3.469 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000986/0.2929, allocations: 0.7398 MB / 0.5754 GB, free: 2.688 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002224/0.2932, allocations: 264.2 kB / 0.5757 GB, free: 2.391 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001316/0.2933, allocations: 75.94 kB / 0.5757 GB, free: 2.316 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001947/0.2953, allocations: 1.161 MB / 0.5769 GB, free: 1.145 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/0.2953, allocations: 0 / 0.5769 GB, free: 1.145 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-05/0.2954, allocations: 24 kB / 0.5769 GB, free: 1.121 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.306e-05/0.2954, allocations: 20 kB / 0.5769 GB, free: 1.102 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001976/0.2974, allocations: 1.12 MB / 0.578 GB, free: 15.98 MB / 398.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.005065/0.3025, allocations: 3.131 MB / 0.5811 GB, free: 12.72 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003182/0.3057, allocations: 1.714 MB / 0.5827 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001592/0.3073, allocations: 0.8361 MB / 0.5836 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.255e-05/0.3074, allocations: 9 kB / 0.5836 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.797e-05/0.3074, allocations: 47.5 kB / 0.5836 GB, free: 9.973 MB / 398.1 MB Notification: Performance of pre-optimization done (n=92): time 2.975e-06/0.3074, allocations: 0 / 0.5836 GB, free: 9.973 MB / 398.1 MB Notification: Performance of matching and sorting (n=92): time 0.03283/0.3403, allocations: 9.257 MB / 0.5927 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.774e-05/0.3404, allocations: 64.39 kB / 0.5927 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001324/0.3417, allocations: 0.8359 MB / 0.5935 GB, free: 15.75 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002035/0.3419, allocations: 45.7 kB / 0.5936 GB, free: 15.7 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003805/0.3423, allocations: 440.6 kB / 0.594 GB, free: 15.26 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000448/0.3428, allocations: 339 kB / 0.5943 GB, free: 14.93 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002569/0.343, allocations: 101.7 kB / 0.5944 GB, free: 14.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.3432, allocations: 361.9 kB / 0.5948 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001801/0.345, allocations: 0.7639 MB / 0.5955 GB, free: 13.7 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00187/0.3469, allocations: 0.8884 MB / 0.5964 GB, free: 12.78 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003515/0.3504, allocations: 1.653 MB / 0.598 GB, free: 11.1 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.3504, allocations: 3.938 kB / 0.598 GB, free: 11.1 MB / 414.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01609/0.3665, allocations: 5.316 MB / 0.6032 GB, free: 5.766 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.082e-05/0.3666, allocations: 4 kB / 0.6032 GB, free: 5.762 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.476e-05/0.3666, allocations: 4 kB / 0.6032 GB, free: 5.758 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007434/0.3741, allocations: 2.225 MB / 0.6054 GB, free: 3.527 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009203/0.375, allocations: 175.7 kB / 0.6055 GB, free: 3.355 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.025/0.4, allocations: 10.29 MB / 0.6156 GB, free: 8.922 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001561/0.4016, allocations: 195 kB / 0.6158 GB, free: 8.73 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002056/0.4019, allocations: 40 kB / 0.6158 GB, free: 8.691 MB / 430.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.0005835/0.4025, allocations: 225.7 kB / 0.616 GB, free: 8.461 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003019/0.4028, allocations: 114.5 kB / 0.6161 GB, free: 8.348 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01531/0.4181, allocations: 5.01 MB / 0.621 GB, free: 3.324 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.795e-05/0.4182, allocations: 8 kB / 0.621 GB, free: 3.316 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.4182, allocations: 0 / 0.621 GB, free: 3.316 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-05/0.4182, allocations: 7.984 kB / 0.621 GB, free: 3.309 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01773/0.4359, allocations: 6.597 MB / 0.6275 GB, free: 12.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.404e-05/0.436, allocations: 0 / 0.6275 GB, free: 12.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006301/0.4366, allocations: 95.83 kB / 0.6276 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006932/0.4436, allocations: 2.163 MB / 0.6297 GB, free: 10.31 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001831/0.4438, allocations: 16 kB / 0.6297 GB, free: 10.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02111/0.4649, allocations: 8.854 MB / 0.6383 GB, free: 1.297 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.465, allocations: 4 kB / 0.6383 GB, free: 1.293 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01749/0.4825, allocations: 5.985 MB / 0.6442 GB, free: 11.28 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003978/0.4829, allocations: 199.5 kB / 0.6444 GB, free: 11.07 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003215/0.4832, allocations: 16 kB / 0.6444 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001231/0.4845, allocations: 136 kB / 0.6445 GB, free: 10.92 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006973/0.4852, allocations: 200.7 kB / 0.6447 GB, free: 10.72 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001261/0.4853, allocations: 20 kB / 0.6447 GB, free: 10.7 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008591/0.4862, allocations: 0.5667 MB / 0.6453 GB, free: 10.12 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.633e-06/0.4862, allocations: 4 kB / 0.6453 GB, free: 10.12 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001551/0.4878, allocations: 435.6 kB / 0.6457 GB, free: 9.695 MB / 462.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.01788/0.5057, allocations: 6.565 MB / 0.6521 GB, free: 3.09 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007598/0.5133, allocations: 2.711 MB / 0.6548 GB, free: 372 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/0.5134, allocations: 0 / 0.6548 GB, free: 372 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005313/0.5187, allocations: 1.767 MB / 0.6565 GB, free: 14.59 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00109/0.5198, allocations: 87.38 kB / 0.6566 GB, free: 14.5 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04435/0.5642, allocations: 18.09 MB / 0.6742 GB, free: 12.06 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007744/0.565, allocations: 1.057 MB / 0.6753 GB, free: 10.98 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004141/0.5654, allocations: 86.77 kB / 0.6754 GB, free: 10.89 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005976/0.566, allocations: 387.3 kB / 0.6757 GB, free: 10.51 MB / 494.1 MB Notification: Performance of SimCode: time 8.21e-07/0.566, allocations: 0 / 0.6757 GB, free: 10.51 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2823/0.8484, allocations: 29.92 MB / 0.7049 GB, free: 112.3 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001486/0.8486, allocations: 221.6 kB / 0.7052 GB, free: 112 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.546/3.395, allocations: 3.75 kB / 0.7052 GB, free: 112 MB / 494.1 MB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_test.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe 2>&1)