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.1216/0.1216, allocations: 12.59 MB / 28.23 MB, free: 0.75 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.001063/0.001063, allocations: 111.4 kB / 31.84 MB, free: 3.883 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.458/1.458, allocations: 205.1 MB / 240.4 MB, free: 12.34 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.00165/0.00165, allocations: 188.5 kB / 290.7 MB, free: 10.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4621/0.4621, allocations: 78.51 MB / 419.3 MB, free: 10.74 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.003062/0.003062, allocations: 143.8 kB / 0.5554 GB, free: 17.81 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1445, allocations: 68.12 MB / 0.6219 GB, free: 13.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system): time 0.007745/0.1523, allocations: 6.99 MB / 0.6287 GB, free: 6.629 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004849/0.1572, allocations: 2.263 MB / 0.6309 GB, free: 4.359 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001224/0.1585, allocations: 8 kB / 0.6309 GB, free: 4.352 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007762/0.1593, allocations: 261.9 kB / 0.6312 GB, free: 4.094 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003747/0.1631, allocations: 1.271 MB / 0.6324 GB, free: 2.828 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001276/0.1644, allocations: 0.5063 MB / 0.6329 GB, free: 2.328 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003205/0.1676, allocations: 2.018 MB / 0.6349 GB, free: 312 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005194/0.1681, allocations: 256.8 kB / 0.6351 GB, free: 40 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001355/0.1695, allocations: 0.7824 MB / 0.6359 GB, free: 15.25 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001589/0.1711, allocations: 1.039 MB / 0.6369 GB, free: 14.21 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004059/0.1715, allocations: 156 kB / 0.6371 GB, free: 14.05 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008353/0.1724, allocations: 335.8 kB / 0.6374 GB, free: 13.73 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003705/0.1727, allocations: 402.5 kB / 0.6378 GB, free: 13.33 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008403/0.1736, allocations: 0.777 MB / 0.6385 GB, free: 12.55 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00255/0.1761, allocations: 1.895 MB / 0.6404 GB, free: 10.65 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.1762, allocations: 0 / 0.6404 GB, free: 10.65 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.977e-06/0.1762, allocations: 4 kB / 0.6404 GB, free: 10.65 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.556e-05/0.1763, allocations: 7.938 kB / 0.6404 GB, free: 10.64 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.01573/0.192, allocations: 3.932 MB / 0.6442 GB, free: 6.648 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/0.1921, allocations: 15.92 kB / 0.6442 GB, free: 6.633 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001797/0.1922, allocations: 118.7 kB / 0.6444 GB, free: 6.508 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003371/0.1956, allocations: 0.5305 MB / 0.6449 GB, free: 5.977 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001988/0.1976, allocations: 0.9866 MB / 0.6458 GB, free: 4.938 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003185/0.198, allocations: 230.9 kB / 0.6461 GB, free: 4.68 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002744/0.1983, allocations: 92 kB / 0.6461 GB, free: 4.59 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002238/0.2005, allocations: 0.9755 MB / 0.6471 GB, free: 3.609 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.107e-05/0.2006, allocations: 0 / 0.6471 GB, free: 3.609 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.509e-05/0.2007, allocations: 32 kB / 0.6471 GB, free: 3.578 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.51e-05/0.2007, allocations: 16 kB / 0.6471 GB, free: 3.562 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00265/0.2034, allocations: 1.097 MB / 0.6482 GB, free: 2.465 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.008076/0.2115, allocations: 3.739 MB / 0.6519 GB, free: 14.55 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00348/0.215, allocations: 1.673 MB / 0.6535 GB, free: 12.76 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001724/0.2167, allocations: 0.7159 MB / 0.6542 GB, free: 12.04 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001687/0.2169, allocations: 20.97 kB / 0.6542 GB, free: 12.02 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.068e-05/0.217, allocations: 43.56 kB / 0.6543 GB, free: 11.97 MB / 478.1 MB Notification: Performance of pre-optimization done (n=103): time 3.667e-06/0.217, allocations: 4 kB / 0.6543 GB, free: 11.96 MB / 478.1 MB Notification: Performance of matching and sorting (n=103): time 0.02244/0.2394, allocations: 5.601 MB / 0.6597 GB, free: 6.332 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.8e-05/0.2395, allocations: 60.41 kB / 0.6598 GB, free: 6.262 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002613/0.2422, allocations: 1.279 MB / 0.661 GB, free: 4.973 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004086/0.2426, allocations: 49.7 kB / 0.6611 GB, free: 4.918 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000547/0.2432, allocations: 482.2 kB / 0.6615 GB, free: 4.441 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007262/0.2439, allocations: 412.6 kB / 0.6619 GB, free: 4.035 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001302/0.2452, allocations: 383.4 kB / 0.6623 GB, free: 3.652 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.2453, allocations: 301.1 kB / 0.6626 GB, free: 3.355 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002307/0.2477, allocations: 0.9488 MB / 0.6635 GB, free: 2.402 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002386/0.2501, allocations: 1.109 MB / 0.6646 GB, free: 1.262 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00436/0.2544, allocations: 1.931 MB / 0.6665 GB, free: 15.3 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.104e-05/0.2545, allocations: 7.938 kB / 0.6665 GB, free: 15.29 MB / 494.1 MB Notification: Performance of matching and sorting (n=256) (initialization): time 0.007382/0.2619, allocations: 3.048 MB / 0.6695 GB, free: 12.23 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.15e-05/0.2619, allocations: 7.984 kB / 0.6695 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-05/0.2619, allocations: 4 kB / 0.6695 GB, free: 12.22 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009019/0.271, allocations: 2.28 MB / 0.6717 GB, free: 9.938 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001854/0.2729, allocations: 355.5 kB / 0.6721 GB, free: 9.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005721/0.2786, allocations: 2.276 MB / 0.6743 GB, free: 7.289 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002549/0.2812, allocations: 226.7 kB / 0.6745 GB, free: 7.066 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00038/0.2816, allocations: 63.98 kB / 0.6746 GB, free: 7.004 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.0008121/0.2824, allocations: 269.5 kB / 0.6748 GB, free: 6.73 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005007/0.2829, allocations: 135.1 kB / 0.6749 GB, free: 6.598 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01116/0.2941, allocations: 3.353 MB / 0.6782 GB, free: 3.23 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.346e-05/0.2942, allocations: 12 kB / 0.6782 GB, free: 3.219 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/0.2942, allocations: 0 / 0.6782 GB, free: 3.219 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.304e-05/0.2942, allocations: 3.984 kB / 0.6782 GB, free: 3.215 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.3232/0.6174, allocations: 5.023 MB / 0.6831 GB, free: 53.34 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.721e-05/0.6175, allocations: 1.094 kB / 0.6831 GB, free: 53.34 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009478/0.6184, allocations: 133.4 kB / 0.6833 GB, free: 53.34 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005895/0.6243, allocations: 1.44 MB / 0.6847 GB, free: 53.32 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002541/0.6246, allocations: 22.03 kB / 0.6847 GB, free: 53.32 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02129/0.6459, allocations: 7.844 MB / 0.6923 GB, free: 50.25 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.646, allocations: 0 / 0.6923 GB, free: 50.25 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01377/0.6597, allocations: 4.234 MB / 0.6965 GB, free: 49.05 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005694/0.6604, allocations: 261.4 kB / 0.6967 GB, free: 48.84 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00048/0.6609, allocations: 25.41 kB / 0.6968 GB, free: 48.82 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001549/0.6624, allocations: 90.58 kB / 0.6968 GB, free: 48.81 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007373/0.6632, allocations: 185 kB / 0.697 GB, free: 48.76 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001511/0.6633, allocations: 28.2 kB / 0.697 GB, free: 48.75 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001517/0.6649, allocations: 0.8495 MB / 0.6979 GB, free: 48.39 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.5e-07/0.6649, allocations: 0 / 0.6979 GB, free: 48.39 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002054/0.6669, allocations: 480 kB / 0.6983 GB, free: 48.34 MB / 494.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.01304/0.68, allocations: 4.712 MB / 0.7029 GB, free: 46.52 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00813/0.6882, allocations: 2.468 MB / 0.7053 GB, free: 45.74 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.6882, allocations: 0 / 0.7053 GB, free: 45.74 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004395/0.6926, allocations: 1.361 MB / 0.7067 GB, free: 45.23 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001736/0.6944, allocations: 113.2 kB / 0.7068 GB, free: 45.15 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02966/0.7241, allocations: 14.71 MB / 0.7211 GB, free: 34.15 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006429/0.7248, allocations: 1.112 MB / 0.7222 GB, free: 33.01 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006424/0.7254, allocations: 124.6 kB / 0.7224 GB, free: 32.89 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008595/0.7263, allocations: 0.4915 MB / 0.7228 GB, free: 32.39 MB / 494.1 MB Notification: Performance of SimCode: time 9.51e-07/0.7263, allocations: 4 kB / 0.7228 GB, free: 32.39 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07166/0.798, allocations: 36.18 MB / 0.7582 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.58/15.38, allocations: 10.88 kB / 0.7582 GB, free: 12.34 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 & 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)