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.07747/0.07747, allocations: 12.2 MB / 27.47 MB, free: 1.418 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.0007159/0.0007159, allocations: 101.7 kB / 31 MB, free: 4.77 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.299/1.299, allocations: 205.4 MB / 239.8 MB, free: 11.44 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.00131/0.00131, allocations: 175.2 kB / 291 MB, free: 13.28 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4592/0.4592, allocations: 78.53 MB / 420.5 MB, free: 48.59 MB / 334.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.000906/0.0009059, allocations: 28.7 kB / 0.4902 GB, free: 2.137 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3787/0.3796, allocations: 69.22 MB / 0.5578 GB, free: 43.35 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system): time 0.006353/0.3861, allocations: 6.76 MB / 0.5644 GB, free: 40.61 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004052/0.3901, allocations: 2.265 MB / 0.5666 GB, free: 39.13 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004255/0.3906, allocations: 10.5 kB / 0.5666 GB, free: 39.13 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005342/0.3911, allocations: 204.8 kB / 0.5668 GB, free: 39.05 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002472/0.3936, allocations: 1.122 MB / 0.5679 GB, free: 38.36 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008301/0.3944, allocations: 471.4 kB / 0.5684 GB, free: 38.12 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001817/0.3963, allocations: 1.924 MB / 0.5702 GB, free: 37.26 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003395/0.3966, allocations: 233.3 kB / 0.5705 GB, free: 37.15 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006569/0.3973, allocations: 0.6853 MB / 0.5711 GB, free: 36.87 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008082/0.3981, allocations: 0.951 MB / 0.5721 GB, free: 36.46 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001494/0.3983, allocations: 86.39 kB / 0.5721 GB, free: 36.46 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004577/0.3987, allocations: 248.4 kB / 0.5724 GB, free: 36.41 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002239/0.399, allocations: 334.3 kB / 0.5727 GB, free: 36.23 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004243/0.3994, allocations: 0.7215 MB / 0.5734 GB, free: 35.76 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001129/0.4005, allocations: 1.783 MB / 0.5751 GB, free: 35.12 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.4005, allocations: 0 / 0.5751 GB, free: 35.12 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.4006, allocations: 0 / 0.5751 GB, free: 35.12 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.287e-05/0.4006, allocations: 3.938 kB / 0.5751 GB, free: 35.12 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.01314/0.4137, allocations: 3.757 MB / 0.5788 GB, free: 33.89 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.4138, allocations: 12.05 kB / 0.5788 GB, free: 33.89 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001672/0.4139, allocations: 123.5 kB / 0.5789 GB, free: 33.8 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002767/0.4167, allocations: 0.5192 MB / 0.5795 GB, free: 33.67 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001105/0.4178, allocations: 0.9715 MB / 0.5804 GB, free: 33.02 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002339/0.4181, allocations: 243.7 kB / 0.5806 GB, free: 32.83 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001536/0.4182, allocations: 93.69 kB / 0.5807 GB, free: 32.79 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001844/0.4201, allocations: 1.049 MB / 0.5817 GB, free: 32.43 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/0.4201, allocations: 0 / 0.5817 GB, free: 32.43 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.239e-05/0.4202, allocations: 30.22 kB / 0.5818 GB, free: 32.4 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.419e-05/0.4202, allocations: 17.5 kB / 0.5818 GB, free: 32.4 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002241/0.4225, allocations: 1.173 MB / 0.5829 GB, free: 32.05 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.004845/0.4273, allocations: 3.79 MB / 0.5866 GB, free: 29.88 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002722/0.4301, allocations: 1.759 MB / 0.5884 GB, free: 28.86 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001379/0.4315, allocations: 0.7724 MB / 0.5891 GB, free: 28.58 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.845e-05/0.4316, allocations: 15.3 kB / 0.5891 GB, free: 28.58 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/0.4316, allocations: 52.75 kB / 0.5892 GB, free: 28.52 MB / 430.1 MB Notification: Performance of pre-optimization done (n=103): time 1.944e-06/0.4316, allocations: 0 / 0.5892 GB, free: 28.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=103): time 0.02161/0.4532, allocations: 6.623 MB / 0.5956 GB, free: 27.21 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.835e-05/0.4533, allocations: 66.97 kB / 0.5957 GB, free: 27.15 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002072/0.4553, allocations: 1.273 MB / 0.597 GB, free: 26.61 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001051/0.4555, allocations: 50.23 kB / 0.597 GB, free: 26.56 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003768/0.4558, allocations: 479.8 kB / 0.5975 GB, free: 26.19 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003709/0.4562, allocations: 395.2 kB / 0.5978 GB, free: 25.88 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003468/0.4566, allocations: 197.1 kB / 0.598 GB, free: 25.79 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.425e-05/0.4566, allocations: 305.1 kB / 0.5983 GB, free: 25.49 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002303/0.4589, allocations: 1.007 MB / 0.5993 GB, free: 25.12 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002443/0.4614, allocations: 1.17 MB / 0.6004 GB, free: 24.64 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004429/0.4658, allocations: 2.053 MB / 0.6024 GB, free: 23.73 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.541e-05/0.4659, allocations: 4.938 kB / 0.6024 GB, free: 23.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=256) (initialization): time 0.007375/0.4732, allocations: 3.211 MB / 0.6056 GB, free: 22.5 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.4733, allocations: 5.688 kB / 0.6056 GB, free: 22.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.4733, allocations: 2.344 kB / 0.6056 GB, free: 22.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009737/0.483, allocations: 2.538 MB / 0.6081 GB, free: 22.14 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001616/0.4847, allocations: 362 kB / 0.6084 GB, free: 22.1 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005238/0.4899, allocations: 2.465 MB / 0.6108 GB, free: 20.73 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002026/0.492, allocations: 246.8 kB / 0.6111 GB, free: 20.59 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001843/0.4922, allocations: 64.3 kB / 0.6111 GB, free: 20.57 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.0005215/0.4927, allocations: 270.9 kB / 0.6114 GB, free: 20.35 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002554/0.4929, allocations: 132.4 kB / 0.6115 GB, free: 20.28 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01073/0.5037, allocations: 3.977 MB / 0.6154 GB, free: 16.74 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.069e-05/0.5037, allocations: 12 kB / 0.6154 GB, free: 16.73 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.5037, allocations: 3.984 kB / 0.6154 GB, free: 16.73 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/0.5037, allocations: 3.984 kB / 0.6154 GB, free: 16.72 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.01181/0.5156, allocations: 5.676 MB / 0.6209 GB, free: 10.91 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.5156, allocations: 0 / 0.6209 GB, free: 10.91 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006896/0.5163, allocations: 139.7 kB / 0.6211 GB, free: 10.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005036/0.5213, allocations: 1.668 MB / 0.6227 GB, free: 9.102 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.777e-05/0.5214, allocations: 20 kB / 0.6227 GB, free: 9.082 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0168/0.5382, allocations: 7.847 MB / 0.6304 GB, free: 1.098 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.5382, allocations: 0 / 0.6304 GB, free: 1.098 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01306/0.5513, allocations: 4.929 MB / 0.6352 GB, free: 12.15 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005357/0.5518, allocations: 259 kB / 0.6355 GB, free: 11.88 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003178/0.5522, allocations: 16 kB / 0.6355 GB, free: 11.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00147/0.5537, allocations: 127.9 kB / 0.6356 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004774/0.5541, allocations: 188.5 kB / 0.6358 GB, free: 11.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-05/0.5542, allocations: 24.11 kB / 0.6358 GB, free: 11.53 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001388/0.5556, allocations: 0.8589 MB / 0.6366 GB, free: 10.66 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5556, allocations: 0 / 0.6366 GB, free: 10.66 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001559/0.5572, allocations: 471.7 kB / 0.6371 GB, free: 10.2 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.01331/0.5705, allocations: 5.373 MB / 0.6423 GB, free: 4.793 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007643/0.5782, allocations: 2.647 MB / 0.6449 GB, free: 2.156 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.5782, allocations: 4 kB / 0.6449 GB, free: 2.152 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0043/0.5825, allocations: 1.5 MB / 0.6464 GB, free: 0.6445 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001178/0.5837, allocations: 112.1 kB / 0.6465 GB, free: 0.5352 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03219/0.6159, allocations: 16.68 MB / 0.6628 GB, free: 15.37 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000762/0.6167, allocations: 1.116 MB / 0.6639 GB, free: 14.22 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005465/0.6173, allocations: 120.7 kB / 0.664 GB, free: 14.1 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007569/0.618, allocations: 499.3 kB / 0.6645 GB, free: 13.61 MB / 478.1 MB Notification: Performance of SimCode: time 1.143e-06/0.6181, allocations: 0 / 0.6645 GB, free: 13.61 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05643/0.6745, allocations: 32.66 MB / 0.6964 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002591/0.6748, allocations: 260.8 kB / 0.6966 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.79/3.464, allocations: 4 kB / 0.6966 GB, free: 12.89 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)