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-master/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-master/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-master/package.mo): time 0.08697/0.08697, allocations: 12.59 MB / 28.22 MB, free: 0.7344 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.001037/0.001037, allocations: 111.4 kB / 31.83 MB, free: 3.875 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.348/1.348, allocations: 205.1 MB / 240.4 MB, free: 12.38 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.001424/0.001424, allocations: 180.5 kB / 290.7 MB, free: 13.4 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4399/0.4399, allocations: 78.52 MB / 419.3 MB, free: 11.25 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.002847/0.002847, allocations: 135.4 kB / 0.5554 GB, free: 28.79 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1173, allocations: 68.13 MB / 0.6219 GB, free: 15.93 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test): time 0.006624/0.124, allocations: 6.099 MB / 0.6279 GB, free: 9.801 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003817/0.1278, allocations: 1.752 MB / 0.6296 GB, free: 8.043 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001216/0.1292, allocations: 11.94 kB / 0.6296 GB, free: 8.031 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007205/0.1299, allocations: 210.2 kB / 0.6298 GB, free: 7.824 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002215/0.1322, allocations: 0.7502 MB / 0.6305 GB, free: 7.07 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001389/0.1336, allocations: 0.5742 MB / 0.6311 GB, free: 6.504 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001521/0.1351, allocations: 1.343 MB / 0.6324 GB, free: 5.156 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005555/0.1357, allocations: 286.2 kB / 0.6327 GB, free: 4.867 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006278/0.1363, allocations: 0.5601 MB / 0.6332 GB, free: 4.305 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007804/0.1371, allocations: 0.6922 MB / 0.6339 GB, free: 3.609 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001367/0.1372, allocations: 96 kB / 0.634 GB, free: 3.516 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004643/0.1377, allocations: 231.9 kB / 0.6342 GB, free: 3.289 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002352/0.138, allocations: 262.8 kB / 0.6345 GB, free: 3.031 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004232/0.1384, allocations: 0.5825 MB / 0.635 GB, free: 2.445 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001393/0.1398, allocations: 1.44 MB / 0.6364 GB, free: 1 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1398, allocations: 0 / 0.6364 GB, free: 1 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.1398, allocations: 0 / 0.6364 GB, free: 1 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.388e-05/0.1399, allocations: 7.875 kB / 0.6364 GB, free: 0.9922 MB / 446.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.00777/0.1476, allocations: 2.446 MB / 0.6388 GB, free: 14.49 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.1477, allocations: 11.98 kB / 0.6388 GB, free: 14.48 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001371/0.1478, allocations: 118.5 kB / 0.6389 GB, free: 14.36 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004897/0.1527, allocations: 0.7711 MB / 0.6397 GB, free: 13.58 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001078/0.1538, allocations: 0.7477 MB / 0.6404 GB, free: 12.79 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003296/0.1542, allocations: 244.2 kB / 0.6407 GB, free: 12.52 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001429/0.1543, allocations: 75.94 kB / 0.6407 GB, free: 12.44 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002018/0.1564, allocations: 1.086 MB / 0.6418 GB, free: 11.34 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/0.1564, allocations: 0 / 0.6418 GB, free: 11.34 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.747e-05/0.1565, allocations: 31.98 kB / 0.6418 GB, free: 11.31 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.401e-05/0.1565, allocations: 16 kB / 0.6418 GB, free: 11.29 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002077/0.1586, allocations: 1.031 MB / 0.6428 GB, free: 10.27 MB / 462.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.005147/0.1637, allocations: 3.053 MB / 0.6458 GB, free: 7.074 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00295/0.1667, allocations: 1.561 MB / 0.6474 GB, free: 5.387 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001502/0.1682, allocations: 0.7541 MB / 0.6481 GB, free: 4.629 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001124/0.1684, allocations: 16.97 kB / 0.6481 GB, free: 4.613 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.1684, allocations: 43.56 kB / 0.6481 GB, free: 4.562 MB / 462.1 MB Notification: Performance of pre-optimization done (n=92): time 5.601e-06/0.1684, allocations: 0 / 0.6481 GB, free: 4.562 MB / 462.1 MB Notification: Performance of matching and sorting (n=92): time 0.02964/0.1981, allocations: 7.476 MB / 0.6554 GB, free: 13.05 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.253e-05/0.1981, allocations: 68.41 kB / 0.6555 GB, free: 12.97 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001087/0.1992, allocations: 0.832 MB / 0.6563 GB, free: 12.11 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002478/0.1995, allocations: 45.7 kB / 0.6564 GB, free: 12.06 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003368/0.1999, allocations: 452.4 kB / 0.6568 GB, free: 11.62 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003582/0.2002, allocations: 331.3 kB / 0.6571 GB, free: 11.29 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004456/0.2007, allocations: 198.8 kB / 0.6573 GB, free: 11.09 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.2008, allocations: 353.9 kB / 0.6576 GB, free: 10.73 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001534/0.2024, allocations: 0.7013 MB / 0.6583 GB, free: 10.04 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001584/0.2039, allocations: 0.8141 MB / 0.6591 GB, free: 9.191 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002974/0.2069, allocations: 1.497 MB / 0.6606 GB, free: 7.668 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.533e-05/0.207, allocations: 4 kB / 0.6606 GB, free: 7.664 MB / 478.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01396/0.221, allocations: 4.351 MB / 0.6648 GB, free: 3.297 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.791e-05/0.2211, allocations: 4.625 kB / 0.6648 GB, free: 3.293 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.638e-05/0.2211, allocations: 4 kB / 0.6648 GB, free: 3.289 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006826/0.2279, allocations: 1.893 MB / 0.6667 GB, free: 1.391 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009589/0.2289, allocations: 171.7 kB / 0.6669 GB, free: 1.223 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02422/0.2532, allocations: 9.962 MB / 0.6766 GB, free: 7.113 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001557/0.2548, allocations: 163 kB / 0.6767 GB, free: 6.953 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001712/0.2549, allocations: 39.98 kB / 0.6768 GB, free: 6.914 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.0005376/0.2555, allocations: 229.6 kB / 0.677 GB, free: 6.68 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003138/0.2558, allocations: 110.6 kB / 0.6771 GB, free: 6.57 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01272/0.2686, allocations: 4.049 MB / 0.6811 GB, free: 2.5 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.364e-05/0.2686, allocations: 12 kB / 0.6811 GB, free: 2.488 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.2686, allocations: 0 / 0.6811 GB, free: 2.488 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.197e-05/0.2686, allocations: 3.984 kB / 0.6811 GB, free: 2.484 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01505/0.2837, allocations: 5.633 MB / 0.6866 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.917e-06/0.2837, allocations: 4 kB / 0.6866 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006412/0.2844, allocations: 95.83 kB / 0.6867 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005966/0.2904, allocations: 1.831 MB / 0.6885 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001328/0.2905, allocations: 20 kB / 0.6885 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01936/0.3099, allocations: 8.623 MB / 0.6969 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.3099, allocations: 4 kB / 0.6969 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01457/0.3245, allocations: 4.975 MB / 0.7018 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004553/0.325, allocations: 203.4 kB / 0.702 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002375/0.3253, allocations: 16 kB / 0.702 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001002/0.3263, allocations: 95.89 kB / 0.7021 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000725/0.327, allocations: 200.7 kB / 0.7023 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.936e-05/0.3271, allocations: 23.94 kB / 0.7023 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007329/0.3279, allocations: 0.5706 MB / 0.7028 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3279, allocations: 0 / 0.7028 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001383/0.3293, allocations: 435.7 kB / 0.7032 GB, free: 11.43 MB / 0.5137 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.01536/0.3446, allocations: 5.533 MB / 0.7087 GB, free: 5.863 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006812/0.3515, allocations: 2.443 MB / 0.711 GB, free: 3.406 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.3515, allocations: 0 / 0.711 GB, free: 3.406 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004611/0.3561, allocations: 1.578 MB / 0.7126 GB, free: 1.816 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008613/0.3571, allocations: 90.41 kB / 0.7127 GB, free: 1.73 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2873/0.6444, allocations: 15.14 MB / 0.7275 GB, free: 84.23 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006367/0.6451, allocations: 1.054 MB / 0.7285 GB, free: 83.51 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003736/0.6455, allocations: 79.95 kB / 0.7286 GB, free: 83.5 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000545/0.646, allocations: 404.3 kB / 0.7289 GB, free: 83.19 MB / 0.5137 GB Notification: Performance of SimCode: time 8.92e-07/0.646, allocations: 1.125 kB / 0.7289 GB, free: 83.19 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05614/0.7022, allocations: 33.42 MB / 0.7616 GB, free: 58.34 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.38/16.09, allocations: 10.64 kB / 0.7616 GB, free: 58.34 MB / 0.5137 GB (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)