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.0009734/0.0009735, allocations: 91.84 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.438/1.438, allocations: 223.3 MB / 239.4 MB, free: 5.527 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.001009/0.001009, allocations: 172.5 kB / 290.6 MB, free: 2.203 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5103/0.5103, allocations: 91.94 MB / 433.7 MB, free: 10.32 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003934/0.0003935, allocations: 8.375 kB / 0.5049 GB, free: 7.184 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3617/0.3621, allocations: 72.46 MB / 0.5756 GB, free: 36.37 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system): time 0.005164/0.3673, allocations: 6.728 MB / 0.5822 GB, free: 32.07 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003395/0.3708, allocations: 2.303 MB / 0.5845 GB, free: 30.46 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004171/0.3712, allocations: 8.344 kB / 0.5845 GB, free: 30.46 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004345/0.3716, allocations: 202.7 kB / 0.5847 GB, free: 30.38 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001616/0.3733, allocations: 0.8544 MB / 0.5855 GB, free: 29.83 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000867/0.3741, allocations: 0.5349 MB / 0.586 GB, free: 29.55 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001258/0.3754, allocations: 1.764 MB / 0.5877 GB, free: 28.73 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003117/0.3757, allocations: 237.1 kB / 0.588 GB, free: 28.64 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000529/0.3763, allocations: 0.6522 MB / 0.5886 GB, free: 28.36 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007402/0.377, allocations: 0.9185 MB / 0.5895 GB, free: 27.97 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001546/0.3772, allocations: 84.41 kB / 0.5896 GB, free: 27.97 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004543/0.3776, allocations: 250.6 kB / 0.5898 GB, free: 27.91 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002034/0.3779, allocations: 319.2 kB / 0.5901 GB, free: 27.73 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004627/0.3783, allocations: 0.7066 MB / 0.5908 GB, free: 27.28 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001243/0.3796, allocations: 1.751 MB / 0.5925 GB, free: 26.66 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.3796, allocations: 1.312 kB / 0.5925 GB, free: 26.66 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.3796, allocations: 0 / 0.5925 GB, free: 26.66 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.472e-05/0.3796, allocations: 0 / 0.5925 GB, free: 26.66 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.01176/0.3914, allocations: 3.182 MB / 0.5956 GB, free: 25.49 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.3914, allocations: 10.34 kB / 0.5956 GB, free: 25.49 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002888/0.3917, allocations: 120.4 kB / 0.5957 GB, free: 25.4 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003239/0.395, allocations: 0.5243 MB / 0.5963 GB, free: 25.27 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001543/0.3965, allocations: 0.9761 MB / 0.5972 GB, free: 24.61 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002748/0.3968, allocations: 244.5 kB / 0.5974 GB, free: 24.42 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001825/0.397, allocations: 86.53 kB / 0.5975 GB, free: 24.39 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002202/0.3992, allocations: 1.039 MB / 0.5985 GB, free: 24.03 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.806e-05/0.3993, allocations: 1.469 kB / 0.5985 GB, free: 24.03 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.844e-05/0.3994, allocations: 33.88 kB / 0.5986 GB, free: 24 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.94e-05/0.3994, allocations: 15.94 kB / 0.5986 GB, free: 24 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002724/0.4021, allocations: 1.178 MB / 0.5997 GB, free: 23.65 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.006739/0.4089, allocations: 3.787 MB / 0.6034 GB, free: 21.48 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003243/0.4121, allocations: 1.764 MB / 0.6052 GB, free: 20.45 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001661/0.4138, allocations: 0.7761 MB / 0.6059 GB, free: 20.17 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001124/0.4139, allocations: 17.67 kB / 0.6059 GB, free: 20.16 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.414, allocations: 45.2 kB / 0.606 GB, free: 20.12 MB / 430.1 MB Notification: Performance of pre-optimization done (n=103): time 3.566e-06/0.414, allocations: 4 kB / 0.606 GB, free: 20.11 MB / 430.1 MB Notification: Performance of matching and sorting (n=103): time 0.02506/0.439, allocations: 6.625 MB / 0.6125 GB, free: 18.8 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.149e-05/0.4391, allocations: 62.31 kB / 0.6125 GB, free: 18.74 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002689/0.4418, allocations: 1.273 MB / 0.6138 GB, free: 18.2 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00026/0.4421, allocations: 58.58 kB / 0.6138 GB, free: 18.14 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004238/0.4425, allocations: 475.2 kB / 0.6143 GB, free: 17.77 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005229/0.4431, allocations: 394.8 kB / 0.6146 GB, free: 17.47 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004436/0.4435, allocations: 196.7 kB / 0.6148 GB, free: 17.38 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.477e-05/0.4436, allocations: 301.8 kB / 0.6151 GB, free: 17.08 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002498/0.4461, allocations: 1.006 MB / 0.6161 GB, free: 16.71 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002546/0.4486, allocations: 1.171 MB / 0.6172 GB, free: 16.23 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004567/0.4532, allocations: 2.058 MB / 0.6193 GB, free: 15.32 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.071e-05/0.4532, allocations: 0 / 0.6193 GB, free: 15.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=256) (initialization): time 0.007239/0.4605, allocations: 3.218 MB / 0.6224 GB, free: 13.21 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/0.4605, allocations: 4 kB / 0.6224 GB, free: 13.21 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.4606, allocations: 4 kB / 0.6224 GB, free: 13.21 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00918/0.4697, allocations: 2.542 MB / 0.6249 GB, free: 10.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001892/0.4717, allocations: 355.5 kB / 0.6252 GB, free: 10.31 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005561/0.4773, allocations: 2.465 MB / 0.6276 GB, free: 7.82 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00282/0.4801, allocations: 254.2 kB / 0.6279 GB, free: 7.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003384/0.4805, allocations: 67.97 kB / 0.6279 GB, free: 7.504 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.0007193/0.4812, allocations: 275.9 kB / 0.6282 GB, free: 7.227 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004984/0.4817, allocations: 134.2 kB / 0.6283 GB, free: 7.094 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01145/0.4932, allocations: 3.967 MB / 0.6322 GB, free: 3.109 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.846e-05/0.4933, allocations: 12 kB / 0.6322 GB, free: 3.098 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.155e-05/0.4933, allocations: 0 / 0.6322 GB, free: 3.098 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.058e-05/0.4933, allocations: 7.969 kB / 0.6322 GB, free: 3.09 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.01493/0.5082, allocations: 5.668 MB / 0.6378 GB, free: 13.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.31e-05/0.5083, allocations: 0 / 0.6378 GB, free: 13.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000916/0.5092, allocations: 139.8 kB / 0.6379 GB, free: 13.15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006264/0.5155, allocations: 1.668 MB / 0.6395 GB, free: 11.48 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002527/0.5158, allocations: 23.98 kB / 0.6395 GB, free: 11.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02164/0.5375, allocations: 7.845 MB / 0.6472 GB, free: 3.473 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.5375, allocations: 3.938 kB / 0.6472 GB, free: 3.469 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0153/0.5528, allocations: 4.925 MB / 0.652 GB, free: 14.52 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007833/0.5537, allocations: 251.1 kB / 0.6523 GB, free: 14.26 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005582/0.5542, allocations: 24 kB / 0.6523 GB, free: 14.23 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001846/0.5561, allocations: 131.9 kB / 0.6524 GB, free: 14.11 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000702/0.5568, allocations: 176.6 kB / 0.6526 GB, free: 13.93 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001405/0.557, allocations: 27.98 kB / 0.6526 GB, free: 13.91 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00155/0.5585, allocations: 0.8473 MB / 0.6534 GB, free: 13.05 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.5586, allocations: 4 kB / 0.6534 GB, free: 13.05 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002028/0.5606, allocations: 475.6 kB / 0.6539 GB, free: 12.59 MB / 462.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.01483/0.5754, allocations: 5.39 MB / 0.6592 GB, free: 7.16 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008564/0.584, allocations: 2.654 MB / 0.6617 GB, free: 4.512 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.5841, allocations: 0 / 0.6617 GB, free: 4.512 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005047/0.5891, allocations: 1.496 MB / 0.6632 GB, free: 3 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001692/0.5909, allocations: 110.7 kB / 0.6633 GB, free: 2.891 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03666/0.6275, allocations: 16.69 MB / 0.6796 GB, free: 1.719 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008213/0.6284, allocations: 1.109 MB / 0.6807 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006688/0.6291, allocations: 128.7 kB / 0.6808 GB, free: 456 kB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009319/0.63, allocations: 499.3 kB / 0.6813 GB, free: 15.96 MB / 494.1 MB Notification: Performance of SimCode: time 8.71e-07/0.6301, allocations: 0 / 0.6813 GB, free: 15.96 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0619/0.692, allocations: 32.65 MB / 0.7132 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002618/0.6923, allocations: 258.3 kB / 0.7134 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.772/3.464, allocations: 0 / 0.7134 GB, free: 15.31 MB / 0.5137 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)