Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.conf.json 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 4.0.0+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 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test,fileNamePrefix="OpenIPSL_dev_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009899/0.0009901, allocations: 91.38 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 223.3 MB / 239.4 MB, free: 5.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 188.5 kB / 290.6 MB, free: 2.18 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5261/0.5261, allocations: 91.92 MB / 433.7 MB, free: 10.32 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003915/0.0003916, allocations: 8 kB / 0.5049 GB, free: 7.188 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4141/0.4145, allocations: 72.46 MB / 0.5756 GB, free: 36.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test): time 0.004758/0.4193, allocations: 5.944 MB / 0.5814 GB, free: 32.73 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003536/0.4229, allocations: 1.839 MB / 0.5832 GB, free: 31.42 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004959/0.4234, allocations: 11.97 kB / 0.5833 GB, free: 31.42 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004355/0.4239, allocations: 161.5 kB / 0.5834 GB, free: 31.36 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001438/0.4253, allocations: 0.6168 MB / 0.584 GB, free: 30.96 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001066/0.4264, allocations: 0.5387 MB / 0.5845 GB, free: 30.67 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001058/0.4275, allocations: 1.267 MB / 0.5858 GB, free: 30.05 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003768/0.4279, allocations: 262.1 kB / 0.586 GB, free: 29.93 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004894/0.4284, allocations: 0.496 MB / 0.5865 GB, free: 29.7 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005448/0.4289, allocations: 0.6335 MB / 0.5871 GB, free: 29.41 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.562e-05/0.429, allocations: 50.75 kB / 0.5872 GB, free: 29.41 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003734/0.4294, allocations: 180.9 kB / 0.5874 GB, free: 29.37 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001615/0.4296, allocations: 213 kB / 0.5876 GB, free: 29.24 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000366/0.4299, allocations: 0.5524 MB / 0.5881 GB, free: 28.87 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009884/0.4309, allocations: 1.354 MB / 0.5894 GB, free: 28.35 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.4309, allocations: 0 / 0.5894 GB, free: 28.35 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.431, allocations: 0 / 0.5894 GB, free: 28.35 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.232e-05/0.431, allocations: 0 / 0.5894 GB, free: 28.35 MB / 430.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.007408/0.4384, allocations: 2.292 MB / 0.5917 GB, free: 27.37 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.685e-05/0.4385, allocations: 13.59 kB / 0.5917 GB, free: 27.36 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002172/0.4387, allocations: 119.5 kB / 0.5918 GB, free: 27.28 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004942/0.4436, allocations: 0.7749 MB / 0.5925 GB, free: 27.13 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001147/0.4448, allocations: 0.7301 MB / 0.5932 GB, free: 26.61 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002595/0.4451, allocations: 262.1 kB / 0.5935 GB, free: 26.39 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001496/0.4452, allocations: 74.56 kB / 0.5936 GB, free: 26.37 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002329/0.4476, allocations: 1.159 MB / 0.5947 GB, free: 25.95 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.318e-05/0.4476, allocations: 3.938 kB / 0.5947 GB, free: 25.94 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.838e-05/0.4477, allocations: 29.97 kB / 0.5947 GB, free: 25.92 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.094e-05/0.4477, allocations: 16.62 kB / 0.5948 GB, free: 25.92 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002352/0.4501, allocations: 1.122 MB / 0.5958 GB, free: 25.57 MB / 430.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.005168/0.4553, allocations: 3.123 MB / 0.5989 GB, free: 23.8 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00327/0.4585, allocations: 1.725 MB / 0.6006 GB, free: 22.82 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001689/0.4602, allocations: 0.8249 MB / 0.6014 GB, free: 22.52 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.745e-05/0.4603, allocations: 16.23 kB / 0.6014 GB, free: 22.52 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.4604, allocations: 43.25 kB / 0.6014 GB, free: 22.47 MB / 430.1 MB Notification: Performance of pre-optimization done (n=92): time 3.166e-06/0.4604, allocations: 4 kB / 0.6014 GB, free: 22.46 MB / 430.1 MB Notification: Performance of matching and sorting (n=92): time 0.03566/0.4961, allocations: 9.248 MB / 0.6105 GB, free: 20.96 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.976e-05/0.4962, allocations: 66.34 kB / 0.6105 GB, free: 20.89 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001862/0.498, allocations: 0.8399 MB / 0.6114 GB, free: 20.52 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002506/0.4983, allocations: 44.86 kB / 0.6114 GB, free: 20.48 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000425/0.4987, allocations: 445.9 kB / 0.6118 GB, free: 20.12 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005344/0.4993, allocations: 342.1 kB / 0.6122 GB, free: 19.86 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003322/0.4996, allocations: 105.3 kB / 0.6123 GB, free: 19.8 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.4998, allocations: 349.7 kB / 0.6126 GB, free: 19.47 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002005/0.5018, allocations: 0.7726 MB / 0.6133 GB, free: 19.21 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002096/0.5039, allocations: 0.8932 MB / 0.6142 GB, free: 18.84 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003839/0.5077, allocations: 1.649 MB / 0.6158 GB, free: 18.13 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.277e-05/0.5078, allocations: 5.219 kB / 0.6158 GB, free: 18.13 MB / 430.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.01644/0.5242, allocations: 5.309 MB / 0.621 GB, free: 14.79 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.852e-05/0.5243, allocations: 8 kB / 0.621 GB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.802e-05/0.5243, allocations: 0 / 0.621 GB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006831/0.5312, allocations: 2.229 MB / 0.6232 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009719/0.5322, allocations: 179.7 kB / 0.6234 GB, free: 12.37 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02237/0.5546, allocations: 10.29 MB / 0.6334 GB, free: 1.945 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001843/0.5564, allocations: 195 kB / 0.6336 GB, free: 1.754 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002552/0.5567, allocations: 40 kB / 0.6336 GB, free: 1.715 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.0007053/0.5574, allocations: 233.6 kB / 0.6339 GB, free: 1.477 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003788/0.5578, allocations: 114.5 kB / 0.634 GB, free: 1.363 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01516/0.573, allocations: 5.01 MB / 0.6389 GB, free: 12.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.353e-05/0.5731, allocations: 15.92 kB / 0.6389 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.5731, allocations: 0 / 0.6389 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.235e-05/0.5731, allocations: 3.984 kB / 0.6389 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01868/0.5918, allocations: 6.597 MB / 0.6453 GB, free: 5.586 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-05/0.5919, allocations: 0 / 0.6453 GB, free: 5.586 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007033/0.5926, allocations: 95.89 kB / 0.6454 GB, free: 5.492 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00712/0.5998, allocations: 2.159 MB / 0.6475 GB, free: 3.328 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002358/0.6, allocations: 20 kB / 0.6475 GB, free: 3.309 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02201/0.6221, allocations: 8.843 MB / 0.6562 GB, free: 10.32 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.6221, allocations: 0 / 0.6562 GB, free: 10.32 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01815/0.6403, allocations: 5.989 MB / 0.662 GB, free: 4.312 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005712/0.6409, allocations: 195.6 kB / 0.6622 GB, free: 4.102 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004591/0.6414, allocations: 24.12 kB / 0.6622 GB, free: 4.078 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001431/0.6428, allocations: 135.8 kB / 0.6624 GB, free: 3.945 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007893/0.6436, allocations: 192.7 kB / 0.6626 GB, free: 3.758 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000151/0.6438, allocations: 24 kB / 0.6626 GB, free: 3.734 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001012/0.6448, allocations: 0.5706 MB / 0.6631 GB, free: 3.152 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.6449, allocations: 0 / 0.6631 GB, free: 3.152 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001916/0.6468, allocations: 439.5 kB / 0.6636 GB, free: 2.723 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.01813/0.6649, allocations: 6.569 MB / 0.67 GB, free: 12.12 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007723/0.6727, allocations: 2.703 MB / 0.6726 GB, free: 9.398 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.071e-05/0.6727, allocations: 4 kB / 0.6726 GB, free: 9.395 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005615/0.6784, allocations: 1.767 MB / 0.6743 GB, free: 7.617 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001468/0.6799, allocations: 83.38 kB / 0.6744 GB, free: 7.531 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04664/0.7265, allocations: 18.09 MB / 0.6921 GB, free: 5.098 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008778/0.7275, allocations: 1.057 MB / 0.6931 GB, free: 4.012 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000498/0.728, allocations: 86.75 kB / 0.6932 GB, free: 3.922 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006779/0.7287, allocations: 395.2 kB / 0.6936 GB, free: 3.535 MB / 494.1 MB Notification: Performance of SimCode: time 1.142e-06/0.7287, allocations: 4 kB / 0.6936 GB, free: 3.531 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.83/7.559, allocations: 29.91 MB / 0.7228 GB, free: 5.789 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002707/7.559, allocations: 220.9 kB / 0.723 GB, free: 5.535 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.158/11.72, allocations: 0 / 0.723 GB, free: 5.535 MB / 0.5137 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_test.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe 2>&1)