Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.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.Examples.RaPIdExperiments.Line_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_dev_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001549/0.001549, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.359/1.359, allocations: 222.9 MB / 239 MB, free: 4.711 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.001264/0.001264, allocations: 200.4 kB / 289.3 MB, free: 2.449 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5339/0.5339, allocations: 91.9 MB / 431.3 MB, free: 9.398 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 76.2 kB / 0.5015 GB, free: 7.953 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4009/0.4024, allocations: 71.25 MB / 0.5711 GB, free: 36.61 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system): time 0.006252/0.4087, allocations: 7.197 MB / 0.5781 GB, free: 32.41 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004436/0.4132, allocations: 2.308 MB / 0.5804 GB, free: 30.85 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001239/0.4144, allocations: 11.53 kB / 0.5804 GB, free: 30.85 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007243/0.4152, allocations: 206.4 kB / 0.5806 GB, free: 30.76 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0026/0.4178, allocations: 0.8513 MB / 0.5814 GB, free: 30.21 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00116/0.419, allocations: 0.5434 MB / 0.5819 GB, free: 29.93 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002932/0.4219, allocations: 1.84 MB / 0.5837 GB, free: 29.05 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000518/0.4225, allocations: 254.2 kB / 0.584 GB, free: 28.96 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001283/0.4238, allocations: 0.7409 MB / 0.5847 GB, free: 28.6 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001144/0.4249, allocations: 1.01 MB / 0.5857 GB, free: 28.13 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002356/0.4252, allocations: 155.3 kB / 0.5858 GB, free: 28.13 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007847/0.426, allocations: 332.7 kB / 0.5862 GB, free: 28.07 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002742/0.4262, allocations: 397.3 kB / 0.5865 GB, free: 27.82 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006212/0.4269, allocations: 0.7728 MB / 0.5873 GB, free: 27.31 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001905/0.4288, allocations: 1.838 MB / 0.5891 GB, free: 26.51 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.4288, allocations: 1.125 kB / 0.5891 GB, free: 26.51 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.4288, allocations: 0 / 0.5891 GB, free: 26.51 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.161e-05/0.4289, allocations: 0 / 0.5891 GB, free: 26.51 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: 175 * Number of variables: 175 Notification: Performance of Generate backend data structure: time 0.01302/0.4419, allocations: 3.327 MB / 0.5923 GB, free: 25.2 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.387e-05/0.442, allocations: 9.969 kB / 0.5923 GB, free: 25.2 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001692/0.4421, allocations: 119 kB / 0.5925 GB, free: 25.11 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003293/0.4454, allocations: 0.5229 MB / 0.593 GB, free: 24.98 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001702/0.4472, allocations: 0.9706 MB / 0.5939 GB, free: 24.32 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002743/0.4474, allocations: 232.7 kB / 0.5941 GB, free: 24.14 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002032/0.4477, allocations: 90.09 kB / 0.5942 GB, free: 24.11 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002156/0.4498, allocations: 0.9878 MB / 0.5952 GB, free: 23.74 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.185e-05/0.4499, allocations: 3.984 kB / 0.5952 GB, free: 23.73 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.789e-05/0.45, allocations: 26.06 kB / 0.5952 GB, free: 23.71 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.05e-05/0.45, allocations: 16.25 kB / 0.5952 GB, free: 23.71 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00257/0.4526, allocations: 1.094 MB / 0.5963 GB, free: 23.37 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.00704/0.4596, allocations: 3.752 MB / 0.6 GB, free: 21.2 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003162/0.4628, allocations: 1.673 MB / 0.6016 GB, free: 20.18 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001558/0.4644, allocations: 0.7208 MB / 0.6023 GB, free: 19.91 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001209/0.4645, allocations: 18.58 kB / 0.6023 GB, free: 19.9 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.4646, allocations: 43 kB / 0.6024 GB, free: 19.86 MB / 430.1 MB Notification: Performance of pre-optimization done (n=103): time 3.557e-06/0.4646, allocations: 1.031 kB / 0.6024 GB, free: 19.86 MB / 430.1 MB Notification: Performance of matching and sorting (n=103): time 0.02394/0.4885, allocations: 5.592 MB / 0.6078 GB, free: 18.66 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.782e-05/0.4886, allocations: 66.69 kB / 0.6079 GB, free: 18.6 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00284/0.4915, allocations: 1.277 MB / 0.6091 GB, free: 18.06 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003824/0.4919, allocations: 51.2 kB / 0.6092 GB, free: 18.01 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004763/0.4923, allocations: 471.6 kB / 0.6096 GB, free: 17.64 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006363/0.493, allocations: 393.5 kB / 0.61 GB, free: 17.34 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00137/0.4944, allocations: 383.4 kB / 0.6104 GB, free: 17.16 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.971e-05/0.4944, allocations: 301.1 kB / 0.6107 GB, free: 16.86 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00241/0.4969, allocations: 0.9502 MB / 0.6116 GB, free: 16.5 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002553/0.4994, allocations: 1.11 MB / 0.6127 GB, free: 16.02 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004408/0.5038, allocations: 1.93 MB / 0.6146 GB, free: 15.12 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.175e-05/0.5039, allocations: 0 / 0.6146 GB, free: 15.12 MB / 430.1 MB Notification: Performance of matching and sorting (n=256) (initialization): time 0.007888/0.5118, allocations: 3.04 MB / 0.6175 GB, free: 13.91 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.673e-05/0.5118, allocations: 6.062 kB / 0.6175 GB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/0.5119, allocations: 2.094 kB / 0.6175 GB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009115/0.521, allocations: 2.29 MB / 0.6198 GB, free: 12.42 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001857/0.5229, allocations: 351.5 kB / 0.6201 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005028/0.5279, allocations: 2.281 MB / 0.6223 GB, free: 9.766 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002693/0.5307, allocations: 218.3 kB / 0.6225 GB, free: 9.551 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003513/0.531, allocations: 63.98 kB / 0.6226 GB, free: 9.488 MB / 430.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.0007583/0.5318, allocations: 265.5 kB / 0.6229 GB, free: 9.219 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000485/0.5323, allocations: 130.3 kB / 0.623 GB, free: 9.09 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009833/0.5421, allocations: 3.349 MB / 0.6262 GB, free: 5.723 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-05/0.5422, allocations: 19.94 kB / 0.6263 GB, free: 5.703 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.308e-06/0.5422, allocations: 0 / 0.6263 GB, free: 5.703 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.195e-05/0.5422, allocations: 3.984 kB / 0.6263 GB, free: 5.699 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.01286/0.5551, allocations: 5.031 MB / 0.6312 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.559e-05/0.5552, allocations: 0 / 0.6312 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009133/0.5561, allocations: 135.9 kB / 0.6313 GB, free: 416 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00539/0.5615, allocations: 1.441 MB / 0.6327 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002486/0.5618, allocations: 24 kB / 0.6327 GB, free: 14.94 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01953/0.5813, allocations: 7.841 MB / 0.6404 GB, free: 6.945 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.5814, allocations: 0 / 0.6404 GB, free: 6.945 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01305/0.5944, allocations: 4.241 MB / 0.6445 GB, free: 2.688 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000708/0.5952, allocations: 251 kB / 0.6448 GB, free: 2.422 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005853/0.5958, allocations: 28.03 kB / 0.6448 GB, free: 2.395 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001751/0.5976, allocations: 99.84 kB / 0.6449 GB, free: 2.297 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006997/0.5983, allocations: 180.7 kB / 0.6451 GB, free: 2.121 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001498/0.5984, allocations: 28 kB / 0.6451 GB, free: 2.094 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001462/0.5999, allocations: 0.8434 MB / 0.6459 GB, free: 1.246 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5999, allocations: 0 / 0.6459 GB, free: 1.246 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001917/0.6018, allocations: 479.7 kB / 0.6464 GB, free: 0.7773 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.01301/0.6149, allocations: 4.716 MB / 0.651 GB, free: 12.03 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008422/0.6233, allocations: 2.492 MB / 0.6534 GB, free: 9.539 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.6234, allocations: 0 / 0.6534 GB, free: 9.539 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004939/0.6283, allocations: 1.352 MB / 0.6547 GB, free: 8.176 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002353/0.6307, allocations: 108.7 kB / 0.6548 GB, free: 8.066 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03518/0.6659, allocations: 15.91 MB / 0.6704 GB, free: 7.664 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000804/0.6668, allocations: 1.116 MB / 0.6715 GB, free: 6.516 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008193/0.6676, allocations: 120.7 kB / 0.6716 GB, free: 6.395 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009779/0.6686, allocations: 0.4915 MB / 0.6721 GB, free: 5.902 MB / 478.1 MB Notification: Performance of SimCode: time 1.212e-06/0.6686, allocations: 7.938 kB / 0.6721 GB, free: 5.895 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1474/0.816, allocations: 34.74 MB / 0.706 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002289/0.8163, allocations: 259 kB / 0.7062 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.196/4.013, allocations: 0 / 0.7062 GB, free: 3.16 MB / 0.4981 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system.fmu > OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe 2>&1)