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/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/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/package.mo): time 0.1005/0.1005, allocations: 12.2 MB / 27.43 MB, free: 1.387 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.001274/0.001274, allocations: 119.4 kB / 30.94 MB, free: 4.664 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.972/1.972, allocations: 205.1 MB / 239.4 MB, free: 10.93 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.002493/0.002493, allocations: 188.5 kB / 289.6 MB, free: 15.86 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.6096/0.6096, allocations: 78.5 MB / 418.1 MB, free: 31.76 MB / 318.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.003436/0.003437, allocations: 136.5 kB / 498.5 MB, free: 448 kB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6613/0.6648, allocations: 68.04 MB / 0.5533 GB, free: 37.86 MB / 414.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system): time 0.008325/0.6732, allocations: 7.237 MB / 0.5603 GB, free: 32.53 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005489/0.6788, allocations: 2.27 MB / 0.5626 GB, free: 30.92 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005756/0.6794, allocations: 15.25 kB / 0.5626 GB, free: 30.92 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007277/0.6801, allocations: 201.1 kB / 0.5628 GB, free: 30.84 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003012/0.6832, allocations: 1.118 MB / 0.5638 GB, free: 30.13 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001206/0.6844, allocations: 475.6 kB / 0.5643 GB, free: 29.88 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002353/0.6867, allocations: 2.003 MB / 0.5663 GB, free: 28.96 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005059/0.6873, allocations: 260.6 kB / 0.5665 GB, free: 28.86 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009783/0.6883, allocations: 0.7774 MB / 0.5673 GB, free: 28.49 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001234/0.6895, allocations: 1.033 MB / 0.5683 GB, free: 28.02 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002311/0.6897, allocations: 156.4 kB / 0.5684 GB, free: 28.02 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007239/0.6905, allocations: 337.8 kB / 0.5687 GB, free: 27.96 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003479/0.6908, allocations: 408 kB / 0.5691 GB, free: 27.7 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006982/0.6915, allocations: 0.7767 MB / 0.5699 GB, free: 27.19 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001864/0.6934, allocations: 1.874 MB / 0.5717 GB, free: 26.38 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.84e-05/0.6934, allocations: 0 / 0.5717 GB, free: 26.38 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.644e-06/0.6935, allocations: 0 / 0.5717 GB, free: 26.38 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.542e-05/0.6935, allocations: 0 / 0.5717 GB, free: 26.38 MB / 414.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.01509/0.7086, allocations: 3.893 MB / 0.5755 GB, free: 24.98 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.715e-05/0.7087, allocations: 17.67 kB / 0.5755 GB, free: 24.98 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001992/0.7089, allocations: 114.8 kB / 0.5757 GB, free: 24.89 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003286/0.7122, allocations: 0.5241 MB / 0.5762 GB, free: 24.76 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002049/0.7142, allocations: 0.9728 MB / 0.5771 GB, free: 24.11 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003545/0.7146, allocations: 235.9 kB / 0.5773 GB, free: 23.91 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002294/0.7148, allocations: 91.59 kB / 0.5774 GB, free: 23.88 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002753/0.7176, allocations: 0.9796 MB / 0.5784 GB, free: 23.53 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.451e-05/0.7176, allocations: 0 / 0.5784 GB, free: 23.53 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001003/0.7178, allocations: 31.03 kB / 0.5784 GB, free: 23.5 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.103e-05/0.7178, allocations: 15.72 kB / 0.5784 GB, free: 23.5 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003284/0.7211, allocations: 1.09 MB / 0.5795 GB, free: 23.16 MB / 414.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.008448/0.7295, allocations: 3.753 MB / 0.5832 GB, free: 20.98 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004162/0.7337, allocations: 1.669 MB / 0.5848 GB, free: 19.98 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001973/0.7357, allocations: 0.7131 MB / 0.5855 GB, free: 19.7 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001247/0.7359, allocations: 19.83 kB / 0.5855 GB, free: 19.7 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/0.7359, allocations: 42.06 kB / 0.5855 GB, free: 19.65 MB / 414.1 MB Notification: Performance of pre-optimization done (n=103): time 5.47e-06/0.7359, allocations: 4 kB / 0.5855 GB, free: 19.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=103): time 0.02481/0.7607, allocations: 5.597 MB / 0.591 GB, free: 17.27 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.671e-05/0.7609, allocations: 62.41 kB / 0.5911 GB, free: 17.2 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003202/0.7641, allocations: 1.274 MB / 0.5923 GB, free: 16.49 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004075/0.7645, allocations: 51.58 kB / 0.5924 GB, free: 16.44 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004631/0.765, allocations: 481.8 kB / 0.5928 GB, free: 16.02 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006078/0.7656, allocations: 393.8 kB / 0.5932 GB, free: 15.68 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008322/0.7664, allocations: 380.8 kB / 0.5936 GB, free: 15.45 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.7666, allocations: 302.4 kB / 0.5939 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002313/0.7689, allocations: 0.9477 MB / 0.5948 GB, free: 14.67 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002538/0.7714, allocations: 1.109 MB / 0.5959 GB, free: 14.05 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004085/0.7755, allocations: 1.935 MB / 0.5978 GB, free: 12.83 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.128e-05/0.7756, allocations: 0 / 0.5978 GB, free: 12.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=256) (initialization): time 0.006536/0.7821, allocations: 3.036 MB / 0.6007 GB, free: 9.785 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.972e-05/0.7822, allocations: 11.28 kB / 0.6007 GB, free: 9.777 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.487e-05/0.7822, allocations: 3.984 kB / 0.6007 GB, free: 9.773 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008549/0.7907, allocations: 2.288 MB / 0.603 GB, free: 7.484 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002192/0.793, allocations: 359.5 kB / 0.6033 GB, free: 7.133 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005086/0.7981, allocations: 2.268 MB / 0.6055 GB, free: 4.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003076/0.8012, allocations: 218.3 kB / 0.6057 GB, free: 4.625 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001571/0.8013, allocations: 67.98 kB / 0.6058 GB, free: 4.559 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.0006472/0.802, allocations: 265.5 kB / 0.606 GB, free: 4.289 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002712/0.8023, allocations: 134.2 kB / 0.6062 GB, free: 4.156 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009778/0.8121, allocations: 3.35 MB / 0.6094 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-05/0.8121, allocations: 12 kB / 0.6095 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.065e-05/0.8121, allocations: 0 / 0.6095 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.367e-05/0.8121, allocations: 3.984 kB / 0.6095 GB, free: 0.7734 MB / 414.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.01389/0.826, allocations: 5.043 MB / 0.6144 GB, free: 11.6 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.279e-05/0.8261, allocations: 4 kB / 0.6144 GB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009194/0.8271, allocations: 131.8 kB / 0.6145 GB, free: 11.46 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00584/0.8329, allocations: 1.441 MB / 0.6159 GB, free: 10.02 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001579/0.8331, allocations: 20 kB / 0.6159 GB, free: 10 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02304/0.8562, allocations: 7.841 MB / 0.6236 GB, free: 2.016 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.481e-06/0.8562, allocations: 0 / 0.6236 GB, free: 2.016 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01507/0.8713, allocations: 4.237 MB / 0.6277 GB, free: 13.76 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001276/0.8726, allocations: 251.1 kB / 0.628 GB, free: 13.49 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007329/0.8734, allocations: 23.94 kB / 0.628 GB, free: 13.47 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001961/0.8754, allocations: 91.91 kB / 0.6281 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008555/0.8763, allocations: 180.7 kB / 0.6283 GB, free: 13.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001403/0.8764, allocations: 28 kB / 0.6283 GB, free: 13.18 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002354/0.8788, allocations: 0.8512 MB / 0.6291 GB, free: 12.32 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.8788, allocations: 0 / 0.6291 GB, free: 12.32 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003198/0.882, allocations: 475.7 kB / 0.6296 GB, free: 11.86 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.01435/0.8964, allocations: 4.716 MB / 0.6342 GB, free: 7.105 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009435/0.9059, allocations: 2.495 MB / 0.6366 GB, free: 4.609 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/0.9059, allocations: 0 / 0.6366 GB, free: 4.609 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005052/0.911, allocations: 1.352 MB / 0.6379 GB, free: 3.254 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002589/0.9136, allocations: 115.6 kB / 0.638 GB, free: 3.141 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04149/0.9551, allocations: 15.92 MB / 0.6536 GB, free: 2.723 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001393/0.9566, allocations: 1.112 MB / 0.6547 GB, free: 1.582 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008927/0.9575, allocations: 116.7 kB / 0.6548 GB, free: 1.465 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00118/0.9587, allocations: 0.5031 MB / 0.6553 GB, free: 0.9609 MB / 462.1 MB Notification: Performance of SimCode: time 1.823e-06/0.9587, allocations: 0 / 0.6553 GB, free: 0.9609 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08955/1.048, allocations: 34.74 MB / 0.6892 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003015/1.049, allocations: 261.6 kB / 0.6895 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.788/4.837, allocations: 3.25 kB / 0.6895 GB, free: 14.13 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 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)