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.08241/0.08241, allocations: 12.59 MB / 28.22 MB, free: 0.7227 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.001299/0.001299, allocations: 107.4 kB / 31.83 MB, free: 3.867 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.319/1.319, allocations: 205.1 MB / 240.4 MB, free: 12.36 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.001443/0.001443, allocations: 195.5 kB / 290.7 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4021/0.4021, allocations: 78.51 MB / 419.3 MB, free: 11.22 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.00366/0.00366, allocations: 139.6 kB / 0.5554 GB, free: 28.91 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.107, 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.007596/0.1147, allocations: 6.997 MB / 0.6287 GB, free: 8.91 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004069/0.1188, allocations: 2.267 MB / 0.6309 GB, free: 6.637 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005892/0.1194, allocations: 8 kB / 0.6309 GB, free: 6.629 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005838/0.12, allocations: 253.9 kB / 0.6312 GB, free: 6.379 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002856/0.1229, allocations: 1.246 MB / 0.6324 GB, free: 5.141 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001004/0.1239, allocations: 0.4948 MB / 0.6329 GB, free: 4.648 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002239/0.1262, allocations: 2.015 MB / 0.6349 GB, free: 2.629 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000421/0.1266, allocations: 272.8 kB / 0.6351 GB, free: 2.348 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009109/0.1275, allocations: 0.7705 MB / 0.6359 GB, free: 1.574 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001217/0.1287, allocations: 1.035 MB / 0.6369 GB, free: 0.5352 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002478/0.129, allocations: 160 kB / 0.637 GB, free: 388 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006048/0.1296, allocations: 327.8 kB / 0.6373 GB, free: 60 kB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003565/0.13, allocations: 402.5 kB / 0.6377 GB, free: 15.66 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007319/0.1307, allocations: 0.7848 MB / 0.6385 GB, free: 14.88 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002048/0.1328, allocations: 1.899 MB / 0.6403 GB, free: 12.97 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.1328, allocations: 0 / 0.6403 GB, free: 12.97 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1328, allocations: 3.938 kB / 0.6403 GB, free: 12.96 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.117e-05/0.1328, allocations: 4 kB / 0.6404 GB, free: 12.96 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.01512/0.148, allocations: 3.936 MB / 0.6442 GB, free: 8.965 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.148, allocations: 15.98 kB / 0.6442 GB, free: 8.949 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000153/0.1482, allocations: 114.7 kB / 0.6443 GB, free: 8.828 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003136/0.1513, allocations: 0.5305 MB / 0.6448 GB, free: 8.297 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001661/0.153, allocations: 0.9828 MB / 0.6458 GB, free: 7.262 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003104/0.1533, allocations: 230.9 kB / 0.646 GB, free: 7.004 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001902/0.1535, allocations: 91.98 kB / 0.6461 GB, free: 6.914 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002219/0.1558, allocations: 0.9755 MB / 0.6471 GB, free: 5.934 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/0.1558, allocations: 0 / 0.6471 GB, free: 5.934 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.251e-05/0.1559, allocations: 28 kB / 0.6471 GB, free: 5.906 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.861e-05/0.1559, allocations: 20 kB / 0.6471 GB, free: 5.887 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002582/0.1585, allocations: 1.093 MB / 0.6482 GB, free: 4.793 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.006435/0.165, allocations: 3.747 MB / 0.6518 GB, free: 0.8711 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003346/0.1683, allocations: 1.677 MB / 0.6535 GB, free: 15.07 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001538/0.1699, allocations: 0.7041 MB / 0.6542 GB, free: 14.37 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001179/0.17, allocations: 20.89 kB / 0.6542 GB, free: 14.35 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.383e-05/0.17, allocations: 43.56 kB / 0.6542 GB, free: 14.3 MB / 478.1 MB Notification: Performance of pre-optimization done (n=103): time 2.715e-06/0.1701, allocations: 4 kB / 0.6542 GB, free: 14.29 MB / 478.1 MB Notification: Performance of matching and sorting (n=103): time 0.02176/0.1918, allocations: 5.605 MB / 0.6597 GB, free: 8.656 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.085e-05/0.1919, allocations: 64.41 kB / 0.6598 GB, free: 8.582 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001952/0.1939, allocations: 1.276 MB / 0.661 GB, free: 7.297 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002363/0.1941, allocations: 49.7 kB / 0.661 GB, free: 7.242 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004174/0.1946, allocations: 482.2 kB / 0.6615 GB, free: 6.766 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004532/0.195, allocations: 412.6 kB / 0.6619 GB, free: 6.359 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000681/0.1957, allocations: 379.4 kB / 0.6623 GB, free: 5.98 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.1959, allocations: 313.1 kB / 0.6626 GB, free: 5.672 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002105/0.198, allocations: 0.941 MB / 0.6635 GB, free: 4.727 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002277/0.2003, allocations: 1.117 MB / 0.6646 GB, free: 3.578 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004086/0.2044, allocations: 1.935 MB / 0.6665 GB, free: 1.621 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.683e-06/0.2044, allocations: 0 / 0.6665 GB, free: 1.621 MB / 478.1 MB Notification: Performance of matching and sorting (n=256) (initialization): time 0.006959/0.2114, allocations: 3.044 MB / 0.6694 GB, free: 14.56 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/0.2114, allocations: 8 kB / 0.6694 GB, free: 14.55 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.2114, allocations: 0 / 0.6694 GB, free: 14.55 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008904/0.2203, allocations: 2.284 MB / 0.6717 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001633/0.222, allocations: 355.5 kB / 0.672 GB, free: 11.92 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00524/0.2272, allocations: 2.276 MB / 0.6742 GB, free: 9.617 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002028/0.2293, allocations: 226.7 kB / 0.6745 GB, free: 9.395 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001793/0.2295, allocations: 67.98 kB / 0.6745 GB, free: 9.328 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.0004935/0.23, allocations: 269.5 kB / 0.6748 GB, free: 9.055 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002596/0.2303, allocations: 139.1 kB / 0.6749 GB, free: 8.918 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01108/0.2413, allocations: 3.342 MB / 0.6782 GB, free: 5.562 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.728e-05/0.2414, allocations: 12 kB / 0.6782 GB, free: 5.551 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.2414, allocations: 0 / 0.6782 GB, free: 5.551 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.176e-05/0.2414, allocations: 3.984 kB / 0.6782 GB, free: 5.547 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.01356/0.255, allocations: 5.031 MB / 0.6831 GB, free: 388 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-05/0.2551, allocations: 0 / 0.6831 GB, free: 388 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008193/0.2559, allocations: 135.8 kB / 0.6832 GB, free: 252 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005431/0.2613, allocations: 1.434 MB / 0.6846 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001565/0.2615, allocations: 23.98 kB / 0.6847 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01941/0.2809, allocations: 7.849 MB / 0.6923 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.281, allocations: 0 / 0.6923 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0131/0.2941, allocations: 4.24 MB / 0.6965 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005155/0.2946, allocations: 259.8 kB / 0.6967 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002238/0.2949, allocations: 23.94 kB / 0.6967 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001255/0.2961, allocations: 95.89 kB / 0.6968 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000569/0.2967, allocations: 176.9 kB / 0.697 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.842e-05/0.2968, allocations: 35.92 kB / 0.697 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001212/0.298, allocations: 0.8473 MB / 0.6978 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.298, allocations: 4 kB / 0.6979 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001248/0.2993, allocations: 483.7 kB / 0.6983 GB, free: 0.5977 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.01276/0.312, allocations: 4.704 MB / 0.7029 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007183/0.3192, allocations: 2.468 MB / 0.7053 GB, free: 9.395 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.3193, allocations: 0 / 0.7053 GB, free: 9.395 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004255/0.3235, allocations: 1.356 MB / 0.7066 GB, free: 8.023 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009774/0.3245, allocations: 116.7 kB / 0.7068 GB, free: 7.906 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2326/0.5571, allocations: 14.69 MB / 0.7211 GB, free: 84.12 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005295/0.5577, allocations: 1.111 MB / 0.7222 GB, free: 83.41 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004636/0.5582, allocations: 122.9 kB / 0.7223 GB, free: 83.4 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005909/0.5588, allocations: 0.4947 MB / 0.7228 GB, free: 83.02 MB / 0.5137 GB Notification: Performance of SimCode: time 5.41e-07/0.5588, allocations: 0 / 0.7228 GB, free: 83.02 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06394/0.6227, allocations: 36.2 MB / 0.7581 GB, free: 60.73 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.1/13.73, allocations: 7.891 kB / 0.7581 GB, free: 60.73 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 & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 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)