Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_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.001244/0.001244, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.262/1.262, allocations: 222.9 MB / 239 MB, free: 4.773 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.001366/0.001365, allocations: 200.4 kB / 289.3 MB, free: 2.496 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4192/0.4192, allocations: 78.52 MB / 417.9 MB, free: 3.305 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 71.89 kB / 497 MB, free: 6.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1227, allocations: 68.18 MB / 0.552 GB, free: 2.438 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system): time 0.2156/0.3383, allocations: 7.175 MB / 0.559 GB, free: 35.7 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003833/0.3422, allocations: 2.314 MB / 0.5612 GB, free: 35.07 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007261/0.3429, allocations: 11.56 kB / 0.5612 GB, free: 35.07 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005852/0.3436, allocations: 199.3 kB / 0.5614 GB, free: 35.06 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002529/0.3461, allocations: 1.122 MB / 0.5625 GB, free: 34.83 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009359/0.3471, allocations: 459.4 kB / 0.563 GB, free: 34.79 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001841/0.3489, allocations: 2.013 MB / 0.5649 GB, free: 34.64 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003509/0.3493, allocations: 259.4 kB / 0.5652 GB, free: 34.59 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007603/0.35, allocations: 0.7721 MB / 0.5659 GB, free: 34.41 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007899/0.3508, allocations: 1.04 MB / 0.567 GB, free: 34.18 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001865/0.351, allocations: 158.1 kB / 0.5671 GB, free: 34.18 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005097/0.3516, allocations: 329.3 kB / 0.5674 GB, free: 34.16 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002376/0.3518, allocations: 405.4 kB / 0.5678 GB, free: 34.07 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004858/0.3523, allocations: 0.7816 MB / 0.5686 GB, free: 33.81 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001313/0.3536, allocations: 1.874 MB / 0.5704 GB, free: 33.39 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.3536, allocations: 0.9688 kB / 0.5704 GB, free: 33.39 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3536, allocations: 0 / 0.5704 GB, free: 33.39 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.568e-05/0.3537, allocations: 0 / 0.5704 GB, free: 33.39 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.01356/0.3672, allocations: 3.898 MB / 0.5742 GB, free: 32.4 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.3673, allocations: 10.5 kB / 0.5742 GB, free: 32.4 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001272/0.3674, allocations: 117.5 kB / 0.5743 GB, free: 32.36 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002842/0.3703, allocations: 0.519 MB / 0.5748 GB, free: 32.26 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001207/0.3715, allocations: 0.9727 MB / 0.5758 GB, free: 31.84 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000218/0.3717, allocations: 235.2 kB / 0.576 GB, free: 31.68 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001472/0.3719, allocations: 92.75 kB / 0.5761 GB, free: 31.68 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001753/0.3736, allocations: 0.9764 MB / 0.577 GB, free: 31.62 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.826e-05/0.3737, allocations: 0 / 0.577 GB, free: 31.62 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-05/0.3737, allocations: 26.09 kB / 0.5771 GB, free: 31.62 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.833e-05/0.3738, allocations: 17.59 kB / 0.5771 GB, free: 31.62 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002086/0.3759, allocations: 1.093 MB / 0.5782 GB, free: 31.59 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.0051/0.381, allocations: 3.753 MB / 0.5818 GB, free: 29.43 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002764/0.3838, allocations: 1.676 MB / 0.5835 GB, free: 28.43 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001316/0.3851, allocations: 0.711 MB / 0.5842 GB, free: 28.16 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001113/0.3852, allocations: 18.59 kB / 0.5842 GB, free: 28.16 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.949e-05/0.3852, allocations: 47.75 kB / 0.5842 GB, free: 28.11 MB / 430.1 MB Notification: Performance of pre-optimization done (n=103): time 2.655e-06/0.3852, allocations: 2.938 kB / 0.5842 GB, free: 28.11 MB / 430.1 MB Notification: Performance of matching and sorting (n=103): time 0.02086/0.4061, allocations: 5.59 MB / 0.5897 GB, free: 26.92 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.198e-05/0.4062, allocations: 61.91 kB / 0.5897 GB, free: 26.86 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001958/0.4081, allocations: 1.281 MB / 0.591 GB, free: 26.32 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002483/0.4084, allocations: 50.3 kB / 0.591 GB, free: 26.27 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003036/0.4087, allocations: 475.8 kB / 0.5915 GB, free: 25.89 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003566/0.4091, allocations: 394.4 kB / 0.5919 GB, free: 25.59 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006279/0.4097, allocations: 382.6 kB / 0.5922 GB, free: 25.41 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.413e-05/0.4098, allocations: 306.4 kB / 0.5925 GB, free: 25.11 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001891/0.4117, allocations: 0.9424 MB / 0.5934 GB, free: 24.75 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001973/0.4137, allocations: 1.109 MB / 0.5945 GB, free: 24.28 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003461/0.4171, allocations: 1.93 MB / 0.5964 GB, free: 23.38 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.4172, allocations: 3.938 kB / 0.5964 GB, free: 23.38 MB / 430.1 MB Notification: Performance of matching and sorting (n=256) (initialization): time 0.006259/0.4234, allocations: 3.036 MB / 0.5994 GB, free: 22.17 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.4235, allocations: 7.031 kB / 0.5994 GB, free: 22.17 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.4235, allocations: 2.406 kB / 0.5994 GB, free: 22.17 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008941/0.4324, allocations: 2.284 MB / 0.6016 GB, free: 21.83 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001813/0.4343, allocations: 363.6 kB / 0.602 GB, free: 21.79 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004716/0.439, allocations: 2.27 MB / 0.6042 GB, free: 20.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002203/0.4412, allocations: 219.7 kB / 0.6044 GB, free: 20.55 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001473/0.4414, allocations: 66.78 kB / 0.6045 GB, free: 20.53 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.0004895/0.4419, allocations: 266.6 kB / 0.6047 GB, free: 20.31 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002761/0.4421, allocations: 133.3 kB / 0.6048 GB, free: 20.24 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01018/0.4523, allocations: 3.348 MB / 0.6081 GB, free: 19.38 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.649e-05/0.4524, allocations: 10.75 kB / 0.6081 GB, free: 19.38 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.594e-05/0.4524, allocations: 1.969 kB / 0.6081 GB, free: 19.38 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.769e-05/0.4524, allocations: 5.984 kB / 0.6081 GB, free: 19.38 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.01278/0.4652, allocations: 5.041 MB / 0.613 GB, free: 16.63 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.225e-06/0.4653, allocations: 3.938 kB / 0.6131 GB, free: 16.62 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007301/0.466, allocations: 131.8 kB / 0.6132 GB, free: 16.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004544/0.4706, allocations: 1.439 MB / 0.6146 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001198/0.4707, allocations: 29.05 kB / 0.6146 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01611/0.4868, allocations: 7.845 MB / 0.6223 GB, free: 7.039 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.4869, allocations: 0 / 0.6223 GB, free: 7.039 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01127/0.4981, allocations: 4.226 MB / 0.6264 GB, free: 2.793 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006664/0.4988, allocations: 251.1 kB / 0.6266 GB, free: 2.527 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004475/0.4993, allocations: 19.94 kB / 0.6267 GB, free: 2.508 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001559/0.5009, allocations: 99.89 kB / 0.6268 GB, free: 2.41 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006485/0.5015, allocations: 176.8 kB / 0.6269 GB, free: 2.238 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001053/0.5017, allocations: 33.05 kB / 0.627 GB, free: 2.207 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001467/0.5031, allocations: 0.8447 MB / 0.6278 GB, free: 1.359 MB / 430.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5031, allocations: 0 / 0.6278 GB, free: 1.359 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001894/0.505, allocations: 479.7 kB / 0.6282 GB, free: 0.8906 MB / 430.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.01237/0.5174, allocations: 4.711 MB / 0.6328 GB, free: 12.15 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008254/0.5257, allocations: 2.493 MB / 0.6353 GB, free: 9.656 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/0.5258, allocations: 0 / 0.6353 GB, free: 9.656 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004527/0.5303, allocations: 1.355 MB / 0.6366 GB, free: 8.297 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001793/0.5322, allocations: 111.3 kB / 0.6367 GB, free: 8.188 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03356/0.5657, allocations: 15.92 MB / 0.6522 GB, free: 7.844 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008116/0.5666, allocations: 1.109 MB / 0.6533 GB, free: 6.703 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006557/0.5673, allocations: 126.5 kB / 0.6534 GB, free: 6.578 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008503/0.5681, allocations: 0.4954 MB / 0.6539 GB, free: 6.082 MB / 462.1 MB Notification: Performance of SimCode: time 1.052e-06/0.5682, allocations: 3.938 kB / 0.6539 GB, free: 6.078 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4131/0.9813, allocations: 34.73 MB / 0.6878 GB, free: 3.742 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002608/0.9816, allocations: 252.6 kB / 0.6881 GB, free: 3.48 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.991/3.972, allocations: 0 / 0.6881 GB, free: 3.48 MB / 494.1 MB (rm -f OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system.fmu > OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe 2>&1)