Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.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.Examples.RaPIdExperiments.Line_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system",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.1088/0.1088, allocations: 12.6 MB / 28.1 MB, free: 388 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001104/0.001105, allocations: 107.5 kB / 31.7 MB, free: 3.531 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.392/1.392, allocations: 205.1 MB / 240.3 MB, free: 12.45 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.001339/0.001339, allocations: 192.5 kB / 290.6 MB, free: 13.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4438/0.4438, allocations: 78.5 MB / 419.2 MB, free: 11.32 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.002786/0.002786, allocations: 144.5 kB / 499.9 MB, free: 10.71 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3212/0.324, allocations: 68.11 MB / 0.5547 GB, free: 32.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system): time 0.007868/0.332, allocations: 6.99 MB / 0.5615 GB, free: 27.28 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005513/0.3375, allocations: 2.264 MB / 0.5637 GB, free: 25.51 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001287/0.3388, allocations: 9.562 kB / 0.5637 GB, free: 25.51 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006809/0.3396, allocations: 251.3 kB / 0.564 GB, free: 25.3 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003474/0.3431, allocations: 1.254 MB / 0.5652 GB, free: 24.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001021/0.3441, allocations: 0.4906 MB / 0.5657 GB, free: 23.95 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002554/0.3467, allocations: 2.006 MB / 0.5676 GB, free: 22.79 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000502/0.3472, allocations: 267.9 kB / 0.5679 GB, free: 22.64 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001469/0.3487, allocations: 0.7747 MB / 0.5686 GB, free: 22.18 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001447/0.3502, allocations: 1.029 MB / 0.5696 GB, free: 21.46 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003375/0.3505, allocations: 156.9 kB / 0.5698 GB, free: 21.46 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009913/0.3515, allocations: 337.8 kB / 0.5701 GB, free: 21.38 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003723/0.3519, allocations: 407.4 kB / 0.5705 GB, free: 21.03 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008391/0.3527, allocations: 0.7744 MB / 0.5713 GB, free: 20.43 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002676/0.3554, allocations: 1.874 MB / 0.5731 GB, free: 19.02 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.143e-05/0.3555, allocations: 4 kB / 0.5731 GB, free: 19.02 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.3555, allocations: 0 / 0.5731 GB, free: 19.02 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.995e-05/0.3555, allocations: 1.219 kB / 0.5731 GB, free: 19.02 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 175 * Number of variables: 175 Notification: Performance of Generate backend data structure: time 0.01661/0.3721, allocations: 3.892 MB / 0.5769 GB, free: 16.59 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.433e-05/0.3722, allocations: 11.98 kB / 0.5769 GB, free: 16.57 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001504/0.3723, allocations: 118.7 kB / 0.577 GB, free: 16.45 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003114/0.3755, allocations: 0.5257 MB / 0.5775 GB, free: 15.92 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00192/0.3774, allocations: 0.9701 MB / 0.5785 GB, free: 14.9 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003004/0.3777, allocations: 234.9 kB / 0.5787 GB, free: 14.64 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000175/0.3779, allocations: 92 kB / 0.5788 GB, free: 14.55 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002003/0.3799, allocations: 0.9755 MB / 0.5798 GB, free: 13.57 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.514e-05/0.38, allocations: 7.938 kB / 0.5798 GB, free: 13.56 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.176e-05/0.3801, allocations: 24 kB / 0.5798 GB, free: 13.54 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.724e-05/0.3801, allocations: 16 kB / 0.5798 GB, free: 13.52 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002313/0.3824, allocations: 1.097 MB / 0.5809 GB, free: 12.42 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.006428/0.3889, allocations: 3.746 MB / 0.5845 GB, free: 8.5 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002907/0.3918, allocations: 1.674 MB / 0.5862 GB, free: 6.711 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001411/0.3932, allocations: 0.7066 MB / 0.5869 GB, free: 6 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000108/0.3934, allocations: 24.97 kB / 0.5869 GB, free: 5.977 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/0.3934, allocations: 43.56 kB / 0.5869 GB, free: 5.926 MB / 398.1 MB Notification: Performance of pre-optimization done (n=103): time 3.406e-06/0.3934, allocations: 3.938 kB / 0.5869 GB, free: 5.922 MB / 398.1 MB Notification: Performance of matching and sorting (n=103): time 0.02091/0.4143, allocations: 5.6 MB / 0.5924 GB, free: 296 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.997e-05/0.4144, allocations: 64.41 kB / 0.5924 GB, free: 220 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001972/0.4164, allocations: 1.271 MB / 0.5937 GB, free: 14.93 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000349/0.4167, allocations: 53.7 kB / 0.5937 GB, free: 14.87 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003993/0.4172, allocations: 473.6 kB / 0.5942 GB, free: 14.41 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004833/0.4176, allocations: 398.5 kB / 0.5946 GB, free: 14.01 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000676/0.4183, allocations: 379.4 kB / 0.5949 GB, free: 13.63 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.4184, allocations: 301.1 kB / 0.5952 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002046/0.4205, allocations: 0.9449 MB / 0.5961 GB, free: 12.39 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002166/0.4227, allocations: 1.105 MB / 0.5972 GB, free: 11.25 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003996/0.4267, allocations: 1.935 MB / 0.5991 GB, free: 9.293 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/0.4267, allocations: 0 / 0.5991 GB, free: 9.293 MB / 414.1 MB Notification: Performance of matching and sorting (n=256) (initialization): time 0.007227/0.4339, allocations: 3.043 MB / 0.6021 GB, free: 6.238 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.918e-05/0.434, allocations: 4.188 kB / 0.6021 GB, free: 6.234 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.479e-05/0.434, allocations: 12 kB / 0.6021 GB, free: 6.223 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009069/0.4431, allocations: 2.288 MB / 0.6043 GB, free: 3.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00194/0.4451, allocations: 351.5 kB / 0.6047 GB, free: 3.586 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005457/0.4506, allocations: 2.279 MB / 0.6069 GB, free: 1.285 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002585/0.4532, allocations: 218.3 kB / 0.6071 GB, free: 1.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002155/0.4535, allocations: 63.98 kB / 0.6072 GB, free: 1.008 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (204): * Single equations (assignments): 203 * 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 {(24,29)} Notification: Performance of prepare postOptimizeDAE: time 0.0006123/0.4541, allocations: 269.5 kB / 0.6074 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003288/0.4544, allocations: 138.2 kB / 0.6076 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01069/0.4651, allocations: 3.342 MB / 0.6108 GB, free: 13.24 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.975e-05/0.4652, allocations: 12 kB / 0.6108 GB, free: 13.23 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/0.4652, allocations: 0 / 0.6108 GB, free: 13.23 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-05/0.4652, allocations: 7.969 kB / 0.6108 GB, free: 13.22 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 postOpt removeSimpleEquations (simulation): time 0.01322/0.4785, allocations: 5.031 MB / 0.6158 GB, free: 8.055 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.541e-05/0.4786, allocations: 0 / 0.6158 GB, free: 8.055 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009023/0.4795, allocations: 135.8 kB / 0.6159 GB, free: 7.922 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005418/0.4849, allocations: 1.449 MB / 0.6173 GB, free: 6.469 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001657/0.4851, allocations: 19.98 kB / 0.6173 GB, free: 6.449 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01907/0.5042, allocations: 7.828 MB / 0.625 GB, free: 14.47 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.5042, allocations: 4 kB / 0.625 GB, free: 14.47 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01284/0.517, allocations: 4.233 MB / 0.6291 GB, free: 10.21 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005576/0.5176, allocations: 251.1 kB / 0.6293 GB, free: 9.949 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001992/0.5179, allocations: 23.94 kB / 0.6294 GB, free: 9.926 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001252/0.5191, allocations: 95.89 kB / 0.6295 GB, free: 9.832 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005403/0.5197, allocations: 184.7 kB / 0.6296 GB, free: 9.652 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.379e-05/0.5197, allocations: 27.98 kB / 0.6297 GB, free: 9.625 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001104/0.5209, allocations: 0.8434 MB / 0.6305 GB, free: 8.777 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.5209, allocations: 0 / 0.6305 GB, free: 8.777 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001216/0.5221, allocations: 483.7 kB / 0.6309 GB, free: 8.305 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,gENROE1.w,gENROE1.delta,gENROE1.Epd,gENROE1.Epq,gENROE1.PSIkd,gENROE1.PSIkq) * 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 (71): * Single equations (assignments): 70 * 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 {(14,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01223/0.5343, allocations: 4.706 MB / 0.6355 GB, free: 3.562 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007566/0.5419, allocations: 2.492 MB / 0.638 GB, free: 1.066 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.542, allocations: 0 / 0.638 GB, free: 1.066 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004254/0.5462, allocations: 1.365 MB / 0.6393 GB, free: 15.7 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001256/0.5475, allocations: 108.7 kB / 0.6394 GB, free: 15.59 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02814/0.5757, allocations: 15.53 MB / 0.6546 GB, free: 15.57 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006875/0.5764, allocations: 1.116 MB / 0.6557 GB, free: 14.43 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006469/0.5771, allocations: 120.7 kB / 0.6558 GB, free: 14.3 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007222/0.5778, allocations: 0.4915 MB / 0.6563 GB, free: 13.81 MB / 478.1 MB Notification: Performance of SimCode: time 1.122e-06/0.5778, allocations: 0 / 0.6563 GB, free: 13.81 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06883/0.6467, allocations: 35.8 MB / 0.6912 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.28/12.92, allocations: 11.67 kB / 0.6912 GB, free: 10.16 MB / 0.4981 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.sim & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 OpenIPSL_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe 2>&1)