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.08054/0.08054, allocations: 12.2 MB / 27.32 MB, free: 1.445 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.001205/0.001205, allocations: 116.8 kB / 30.83 MB, free: 4.715 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.398/1.398, allocations: 205.1 MB / 239.3 MB, free: 10.98 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.001352/0.001352, allocations: 184.5 kB / 289.5 MB, free: 13.88 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4565/0.4565, allocations: 78.5 MB / 418 MB, free: 11.99 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.002493/0.002493, allocations: 135.8 kB / 498.3 MB, free: 11.83 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3314/0.3339, allocations: 68.03 MB / 0.5531 GB, free: 22.24 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system): time 0.006169/0.3401, allocations: 7.235 MB / 0.5602 GB, free: 14.96 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004237/0.3444, allocations: 2.294 MB / 0.5624 GB, free: 12.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007362/0.3452, allocations: 8 kB / 0.5624 GB, free: 12.65 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005669/0.3458, allocations: 210.7 kB / 0.5626 GB, free: 12.45 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002452/0.3482, allocations: 1.131 MB / 0.5637 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000851/0.3491, allocations: 458 kB / 0.5641 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001399/0.3505, allocations: 1.924 MB / 0.566 GB, free: 8.949 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003022/0.3508, allocations: 236.1 kB / 0.5662 GB, free: 8.711 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005325/0.3513, allocations: 0.7002 MB / 0.5669 GB, free: 8.008 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007386/0.3521, allocations: 0.9802 MB / 0.5679 GB, free: 7.023 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001594/0.3522, allocations: 92 kB / 0.568 GB, free: 6.934 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005032/0.3528, allocations: 263.8 kB / 0.5682 GB, free: 6.676 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002204/0.353, allocations: 346.5 kB / 0.5686 GB, free: 6.336 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004366/0.3534, allocations: 0.7068 MB / 0.5692 GB, free: 5.625 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00109/0.3545, allocations: 1.818 MB / 0.571 GB, free: 3.801 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3545, allocations: 4 kB / 0.571 GB, free: 3.797 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.093e-06/0.3545, allocations: 0 / 0.571 GB, free: 3.797 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.21e-05/0.3546, allocations: 0 / 0.571 GB, free: 3.797 MB / 382.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.01398/0.3686, allocations: 3.894 MB / 0.5748 GB, free: 15.84 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.564e-05/0.3686, allocations: 11.98 kB / 0.5748 GB, free: 15.82 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001626/0.3688, allocations: 118.7 kB / 0.575 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003045/0.3718, allocations: 0.5256 MB / 0.5755 GB, free: 15.18 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00159/0.3735, allocations: 0.974 MB / 0.5764 GB, free: 14.15 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002863/0.3737, allocations: 230.9 kB / 0.5766 GB, free: 13.89 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001749/0.3739, allocations: 92 kB / 0.5767 GB, free: 13.8 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002054/0.376, allocations: 0.9794 MB / 0.5777 GB, free: 12.82 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/0.376, allocations: 4 kB / 0.5777 GB, free: 12.82 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.67e-05/0.3761, allocations: 24 kB / 0.5777 GB, free: 12.79 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.636e-05/0.3761, allocations: 16 kB / 0.5777 GB, free: 12.78 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00244/0.3786, allocations: 1.097 MB / 0.5788 GB, free: 11.68 MB / 398.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.006468/0.3851, allocations: 3.746 MB / 0.5825 GB, free: 7.754 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003117/0.3882, allocations: 1.673 MB / 0.5841 GB, free: 5.965 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001475/0.3897, allocations: 0.7144 MB / 0.5848 GB, free: 5.246 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001158/0.3898, allocations: 16.98 kB / 0.5848 GB, free: 5.23 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.877e-05/0.3899, allocations: 47.55 kB / 0.5849 GB, free: 5.176 MB / 398.1 MB Notification: Performance of pre-optimization done (n=103): time 2.915e-06/0.3899, allocations: 0 / 0.5849 GB, free: 5.176 MB / 398.1 MB Notification: Performance of matching and sorting (n=103): time 0.02199/0.4119, allocations: 5.596 MB / 0.5903 GB, free: 15.55 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.103e-05/0.412, allocations: 64.41 kB / 0.5904 GB, free: 15.47 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002603/0.4146, allocations: 1.283 MB / 0.5916 GB, free: 14.18 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003213/0.4149, allocations: 49.7 kB / 0.5917 GB, free: 14.12 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005441/0.4155, allocations: 473.7 kB / 0.5921 GB, free: 13.66 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006338/0.4161, allocations: 394.5 kB / 0.5925 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001436/0.4176, allocations: 383.3 kB / 0.5929 GB, free: 12.88 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.4177, allocations: 301.1 kB / 0.5932 GB, free: 12.59 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00225/0.42, allocations: 0.9449 MB / 0.5941 GB, free: 11.64 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002368/0.4224, allocations: 1.105 MB / 0.5952 GB, free: 10.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004081/0.4265, allocations: 1.931 MB / 0.597 GB, free: 8.547 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-05/0.4265, allocations: 8 kB / 0.5971 GB, free: 8.539 MB / 414.1 MB Notification: Performance of matching and sorting (n=256) (initialization): time 0.007156/0.4336, allocations: 3.039 MB / 0.6 GB, free: 5.488 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.297e-05/0.4337, allocations: 7.938 kB / 0.6 GB, free: 5.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/0.4337, allocations: 7.938 kB / 0.6 GB, free: 5.473 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009118/0.4429, allocations: 2.276 MB / 0.6023 GB, free: 3.191 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001899/0.4448, allocations: 363.5 kB / 0.6026 GB, free: 2.836 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005481/0.4503, allocations: 2.271 MB / 0.6048 GB, free: 0.543 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00249/0.4528, allocations: 218.3 kB / 0.605 GB, free: 336 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003483/0.4532, allocations: 67.97 kB / 0.6051 GB, free: 268 kB / 414.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.0008649/0.4541, allocations: 265.5 kB / 0.6054 GB, free: 15.99 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004685/0.4546, allocations: 134.2 kB / 0.6055 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0109/0.4655, allocations: 3.349 MB / 0.6087 GB, free: 12.49 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.15e-05/0.4655, allocations: 12 kB / 0.6088 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.107e-05/0.4656, allocations: 0 / 0.6088 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.764e-05/0.4656, allocations: 3.984 kB / 0.6088 GB, free: 12.48 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.01428/0.4799, allocations: 5.039 MB / 0.6137 GB, free: 7.301 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-05/0.4799, allocations: 0 / 0.6137 GB, free: 7.301 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009165/0.4809, allocations: 135.8 kB / 0.6138 GB, free: 7.168 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005439/0.4863, allocations: 1.43 MB / 0.6152 GB, free: 5.734 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002218/0.4866, allocations: 24 kB / 0.6152 GB, free: 5.711 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01864/0.5052, allocations: 7.159 MB / 0.6222 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.5053, allocations: 0 / 0.6222 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01331/0.5186, allocations: 4.233 MB / 0.6264 GB, free: 10.16 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000696/0.5193, allocations: 247.1 kB / 0.6266 GB, free: 9.895 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004676/0.5198, allocations: 16 kB / 0.6266 GB, free: 9.879 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001629/0.5215, allocations: 99.89 kB / 0.6267 GB, free: 9.781 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000725/0.5222, allocations: 176.6 kB / 0.6269 GB, free: 9.609 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000151/0.5224, allocations: 35.98 kB / 0.6269 GB, free: 9.574 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001669/0.5241, allocations: 0.8434 MB / 0.6277 GB, free: 8.727 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.5241, allocations: 0 / 0.6277 GB, free: 8.727 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002131/0.5262, allocations: 471.8 kB / 0.6282 GB, free: 8.266 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.01287/0.5391, allocations: 4.71 MB / 0.6328 GB, free: 3.52 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007742/0.5469, allocations: 2.435 MB / 0.6352 GB, free: 1.086 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.5469, allocations: 0 / 0.6352 GB, free: 1.086 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004353/0.5513, allocations: 1.336 MB / 0.6365 GB, free: 15.73 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001792/0.5531, allocations: 104.7 kB / 0.6366 GB, free: 15.63 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03309/0.5862, allocations: 15.93 MB / 0.6521 GB, free: 15.21 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009572/0.5872, allocations: 1.112 MB / 0.6532 GB, free: 14.07 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006534/0.5879, allocations: 124.7 kB / 0.6533 GB, free: 13.94 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008885/0.5888, allocations: 499.3 kB / 0.6538 GB, free: 13.45 MB / 478.1 MB Notification: Performance of SimCode: time 1.804e-06/0.5888, allocations: 0 / 0.6538 GB, free: 13.45 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3098/0.8987, allocations: 33.16 MB / 0.6862 GB, free: 120.4 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001685/0.8989, allocations: 263.6 kB / 0.6864 GB, free: 120.1 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.756/3.654, allocations: 0 / 0.6864 GB, free: 120.1 MB / 494.1 MB (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)