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-master/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-master/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-master/package.mo): time 0.112/0.112, allocations: 12.59 MB / 28.22 MB, free: 0.7773 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.001246/0.001246, allocations: 115.4 kB / 31.84 MB, free: 3.906 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.255/1.255, allocations: 205.1 MB / 240.4 MB, free: 12.38 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.001226/0.001226, allocations: 195.2 kB / 290.7 MB, free: 13.4 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3974/0.3974, allocations: 78.52 MB / 419.3 MB, free: 11.27 MB / 302.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.002543/0.002543, allocations: 146 kB / 0.5554 GB, free: 28.81 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1153, allocations: 68.13 MB / 0.6219 GB, free: 15.95 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system): time 0.007834/0.1232, allocations: 6.996 MB / 0.6287 GB, free: 8.918 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004595/0.1278, allocations: 2.263 MB / 0.6309 GB, free: 6.648 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008437/0.1287, allocations: 8 kB / 0.6309 GB, free: 6.641 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006512/0.1294, allocations: 261.9 kB / 0.6312 GB, free: 6.383 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003378/0.1328, allocations: 1.278 MB / 0.6324 GB, free: 5.109 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001101/0.1339, allocations: 0.4948 MB / 0.6329 GB, free: 4.617 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002568/0.1365, allocations: 2.015 MB / 0.6349 GB, free: 2.598 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003835/0.1369, allocations: 256.8 kB / 0.6351 GB, free: 2.332 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009284/0.1378, allocations: 0.7744 MB / 0.6359 GB, free: 1.555 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00138/0.1392, allocations: 1.039 MB / 0.6369 GB, free: 0.5117 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002539/0.1395, allocations: 156 kB / 0.637 GB, free: 368 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006383/0.1401, allocations: 335.8 kB / 0.6374 GB, free: 32 kB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003678/0.1405, allocations: 410.5 kB / 0.6378 GB, free: 15.63 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007437/0.1412, allocations: 0.777 MB / 0.6385 GB, free: 14.85 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001853/0.1431, allocations: 1.89 MB / 0.6404 GB, free: 12.95 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1431, allocations: 7.875 kB / 0.6404 GB, free: 12.95 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.1431, allocations: 0 / 0.6404 GB, free: 12.95 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.64e-05/0.1431, allocations: 0 / 0.6404 GB, free: 12.95 MB / 462.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.01497/0.1581, allocations: 3.898 MB / 0.6442 GB, free: 8.988 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.1582, allocations: 11.98 kB / 0.6442 GB, free: 8.977 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001407/0.1583, allocations: 118.7 kB / 0.6443 GB, free: 8.852 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003009/0.1613, allocations: 0.5257 MB / 0.6448 GB, free: 8.324 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00143/0.1628, allocations: 0.974 MB / 0.6458 GB, free: 7.297 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002814/0.1631, allocations: 234.9 kB / 0.646 GB, free: 7.035 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001618/0.1633, allocations: 88 kB / 0.6461 GB, free: 6.949 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001917/0.1652, allocations: 0.9794 MB / 0.647 GB, free: 5.965 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/0.1652, allocations: 0 / 0.647 GB, free: 5.965 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.492e-05/0.1653, allocations: 32 kB / 0.6471 GB, free: 5.934 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.367e-05/0.1653, allocations: 16 kB / 0.6471 GB, free: 5.918 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002356/0.1677, allocations: 1.093 MB / 0.6481 GB, free: 4.824 MB / 462.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.005922/0.1736, allocations: 3.731 MB / 0.6518 GB, free: 0.918 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003075/0.1767, allocations: 1.674 MB / 0.6534 GB, free: 15.13 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001466/0.1782, allocations: 0.7159 MB / 0.6541 GB, free: 14.41 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001149/0.1783, allocations: 12.98 kB / 0.6541 GB, free: 14.4 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.165e-05/0.1784, allocations: 43.56 kB / 0.6542 GB, free: 14.34 MB / 478.1 MB Notification: Performance of pre-optimization done (n=103): time 3.196e-06/0.1784, allocations: 4 kB / 0.6542 GB, free: 14.34 MB / 478.1 MB Notification: Performance of matching and sorting (n=103): time 0.02074/0.1991, allocations: 5.6 MB / 0.6596 GB, free: 8.707 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.883e-05/0.1992, allocations: 60.41 kB / 0.6597 GB, free: 8.637 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002074/0.2013, allocations: 1.283 MB / 0.661 GB, free: 7.344 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002076/0.2015, allocations: 53.7 kB / 0.661 GB, free: 7.285 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004241/0.202, allocations: 469.7 kB / 0.6615 GB, free: 6.82 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004682/0.2024, allocations: 398.5 kB / 0.6618 GB, free: 6.426 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008748/0.2033, allocations: 383.3 kB / 0.6622 GB, free: 6.043 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.009e-05/0.2034, allocations: 301.1 kB / 0.6625 GB, free: 5.746 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001987/0.2054, allocations: 0.9449 MB / 0.6634 GB, free: 4.797 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002145/0.2076, allocations: 1.113 MB / 0.6645 GB, free: 3.652 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003871/0.2115, allocations: 1.927 MB / 0.6664 GB, free: 1.703 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/0.2115, allocations: 0 / 0.6664 GB, free: 1.703 MB / 478.1 MB Notification: Performance of matching and sorting (n=256) (initialization): time 0.006524/0.218, allocations: 3.043 MB / 0.6694 GB, free: 14.64 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.657e-05/0.2181, allocations: 4 kB / 0.6694 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/0.2181, allocations: 4 kB / 0.6694 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008748/0.2268, allocations: 2.272 MB / 0.6716 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001771/0.2286, allocations: 363.5 kB / 0.6719 GB, free: 12 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005075/0.2337, allocations: 2.28 MB / 0.6742 GB, free: 9.699 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002251/0.236, allocations: 218.3 kB / 0.6744 GB, free: 9.484 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002858/0.2363, allocations: 67.92 kB / 0.6744 GB, free: 9.418 MB / 494.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.0006379/0.237, allocations: 265.5 kB / 0.6747 GB, free: 9.148 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003623/0.2373, allocations: 130.3 kB / 0.6748 GB, free: 9.02 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01033/0.2477, allocations: 3.346 MB / 0.6781 GB, free: 5.66 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-05/0.2477, allocations: 12 kB / 0.6781 GB, free: 5.648 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.2477, allocations: 4 kB / 0.6781 GB, free: 5.645 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.76e-05/0.2478, allocations: 3.984 kB / 0.6781 GB, free: 5.641 MB / 494.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.01287/0.2606, allocations: 5.031 MB / 0.683 GB, free: 484 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.049e-05/0.2607, allocations: 0 / 0.683 GB, free: 484 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008356/0.2615, allocations: 135.8 kB / 0.6831 GB, free: 348 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005201/0.2667, allocations: 1.438 MB / 0.6845 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001361/0.2669, allocations: 24 kB / 0.6846 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01845/0.2854, allocations: 7.832 MB / 0.6922 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.2854, allocations: 0 / 0.6922 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01194/0.2973, allocations: 4.235 MB / 0.6963 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006851/0.2981, allocations: 251.1 kB / 0.6966 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003582/0.2984, allocations: 23.92 kB / 0.6966 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001438/0.2999, allocations: 92.02 kB / 0.6967 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005313/0.3004, allocations: 184.7 kB / 0.6969 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.54e-05/0.3005, allocations: 28 kB / 0.6969 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001312/0.3018, allocations: 0.8473 MB / 0.6977 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.61e-07/0.3018, allocations: 0 / 0.6977 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001713/0.3036, allocations: 479.8 kB / 0.6982 GB, free: 0.7266 MB / 0.4981 GB 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.01198/0.3156, allocations: 4.703 MB / 0.7028 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007419/0.323, allocations: 2.461 MB / 0.7052 GB, free: 9.531 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.323, allocations: 0 / 0.7052 GB, free: 9.531 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004142/0.3272, allocations: 1.356 MB / 0.7065 GB, free: 8.16 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001471/0.3287, allocations: 112.6 kB / 0.7066 GB, free: 8.047 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2539/0.5826, allocations: 14.65 MB / 0.7209 GB, free: 84.29 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005837/0.5832, allocations: 1.111 MB / 0.722 GB, free: 83.58 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004643/0.5837, allocations: 121.2 kB / 0.7221 GB, free: 83.57 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006035/0.5843, allocations: 0.4936 MB / 0.7226 GB, free: 83.19 MB / 0.5137 GB Notification: Performance of SimCode: time 9.41e-07/0.5843, allocations: 0 / 0.7226 GB, free: 83.19 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06107/0.6454, allocations: 36.19 MB / 0.7579 GB, free: 61.05 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.92/14.57, allocations: 7.891 kB / 0.758 GB, free: 61.04 MB / 0.5137 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)