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.1047/0.1047, allocations: 12.6 MB / 28.1 MB, free: 268 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 107.5 kB / 31.7 MB, free: 3.516 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.518/1.518, allocations: 205.1 MB / 240.3 MB, free: 12.45 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.001357/0.001357, allocations: 191.4 kB / 290.6 MB, free: 13.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4625/0.4625, allocations: 78.5 MB / 419.2 MB, free: 11.36 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.003029/0.003029, allocations: 139.8 kB / 499.9 MB, free: 10.73 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3719/0.3749, allocations: 68.1 MB / 0.5547 GB, free: 32.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system): time 0.007883/0.3828, allocations: 6.99 MB / 0.5615 GB, free: 27.43 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005599/0.3885, allocations: 2.263 MB / 0.5637 GB, free: 25.71 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001077/0.3896, allocations: 8.812 kB / 0.5637 GB, free: 25.71 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006317/0.3903, allocations: 251.7 kB / 0.564 GB, free: 25.51 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003103/0.3934, allocations: 1.26 MB / 0.5652 GB, free: 24.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001084/0.3945, allocations: 493 kB / 0.5657 GB, free: 24.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0024/0.3969, allocations: 2.008 MB / 0.5676 GB, free: 22.99 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004607/0.3974, allocations: 275 kB / 0.5679 GB, free: 22.84 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001047/0.3985, allocations: 0.7742 MB / 0.5686 GB, free: 22.37 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001088/0.3996, allocations: 1.03 MB / 0.5696 GB, free: 21.66 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002884/0.3999, allocations: 161.1 kB / 0.5698 GB, free: 21.65 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008063/0.4007, allocations: 332.8 kB / 0.5701 GB, free: 21.57 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003013/0.401, allocations: 408.2 kB / 0.5705 GB, free: 21.23 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006095/0.4016, allocations: 0.7723 MB / 0.5713 GB, free: 20.63 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001804/0.4034, allocations: 1.868 MB / 0.5731 GB, free: 19.22 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.4034, allocations: 4 kB / 0.5731 GB, free: 19.22 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4035, allocations: 0 / 0.5731 GB, free: 19.22 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.937e-05/0.4035, allocations: 0 / 0.5731 GB, free: 19.22 MB / 398.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.01521/0.4187, allocations: 3.902 MB / 0.5769 GB, free: 16.68 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/0.4188, allocations: 11.98 kB / 0.5769 GB, free: 16.67 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001437/0.4189, allocations: 118.7 kB / 0.577 GB, free: 16.55 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002919/0.4218, allocations: 0.5179 MB / 0.5775 GB, free: 16.03 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001404/0.4233, allocations: 0.9701 MB / 0.5785 GB, free: 15 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002454/0.4235, allocations: 238.9 kB / 0.5787 GB, free: 14.74 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001467/0.4237, allocations: 92 kB / 0.5788 GB, free: 14.65 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001809/0.4255, allocations: 0.9754 MB / 0.5797 GB, free: 13.67 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.858e-05/0.4255, allocations: 0 / 0.5797 GB, free: 13.67 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-05/0.4256, allocations: 35.94 kB / 0.5798 GB, free: 13.64 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.516e-05/0.4257, allocations: 16 kB / 0.5798 GB, free: 13.62 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002354/0.428, allocations: 1.097 MB / 0.5809 GB, free: 12.52 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.005613/0.4336, allocations: 3.746 MB / 0.5845 GB, free: 8.598 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002722/0.4364, allocations: 1.67 MB / 0.5862 GB, free: 6.812 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001263/0.4377, allocations: 0.7104 MB / 0.5869 GB, free: 6.098 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.856e-05/0.4378, allocations: 16.98 kB / 0.5869 GB, free: 6.082 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/0.4378, allocations: 43.56 kB / 0.5869 GB, free: 6.031 MB / 398.1 MB Notification: Performance of pre-optimization done (n=103): time 3.556e-06/0.4378, allocations: 0 / 0.5869 GB, free: 6.031 MB / 398.1 MB Notification: Performance of matching and sorting (n=103): time 0.02047/0.4583, allocations: 5.608 MB / 0.5924 GB, free: 400 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.042e-05/0.4584, allocations: 60.41 kB / 0.5924 GB, free: 328 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00206/0.4604, allocations: 1.283 MB / 0.5937 GB, free: 15.03 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002553/0.4607, allocations: 45.7 kB / 0.5937 GB, free: 14.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004024/0.4611, allocations: 473.7 kB / 0.5942 GB, free: 14.51 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004704/0.4616, allocations: 394.5 kB / 0.5946 GB, free: 14.12 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006737/0.4623, allocations: 387.4 kB / 0.5949 GB, free: 13.73 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.4624, allocations: 305.1 kB / 0.5952 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001976/0.4644, allocations: 0.9371 MB / 0.5961 GB, free: 12.49 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002089/0.4665, allocations: 1.109 MB / 0.5972 GB, free: 11.35 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003803/0.4703, allocations: 1.931 MB / 0.5991 GB, free: 9.395 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.4703, allocations: 3.938 kB / 0.5991 GB, free: 9.391 MB / 414.1 MB Notification: Performance of matching and sorting (n=256) (initialization): time 0.006712/0.477, allocations: 3.043 MB / 0.6021 GB, free: 6.336 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/0.4771, allocations: 4 kB / 0.6021 GB, free: 6.332 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.4771, allocations: 4.188 kB / 0.6021 GB, free: 6.328 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008726/0.4858, allocations: 2.288 MB / 0.6043 GB, free: 4.035 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001721/0.4876, allocations: 355.5 kB / 0.6047 GB, free: 3.688 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005088/0.4927, allocations: 2.279 MB / 0.6069 GB, free: 1.387 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002412/0.4951, allocations: 218.3 kB / 0.6071 GB, free: 1.172 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001498/0.4953, allocations: 67.97 kB / 0.6072 GB, free: 1.105 MB / 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.0005275/0.4958, allocations: 269.5 kB / 0.6074 GB, free: 0.832 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002569/0.4961, allocations: 138.3 kB / 0.6076 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01062/0.5067, allocations: 3.342 MB / 0.6108 GB, free: 13.33 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.861e-05/0.5068, allocations: 8 kB / 0.6108 GB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.167e-05/0.5068, allocations: 4 kB / 0.6108 GB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.95e-05/0.5068, allocations: 7.969 kB / 0.6108 GB, free: 13.31 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.01261/0.5194, allocations: 5.039 MB / 0.6158 GB, free: 8.145 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/0.5195, allocations: 0 / 0.6158 GB, free: 8.145 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007469/0.5202, allocations: 127.8 kB / 0.6159 GB, free: 8.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005332/0.5255, allocations: 1.445 MB / 0.6173 GB, free: 6.57 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001455/0.5257, allocations: 24 kB / 0.6173 GB, free: 6.547 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01912/0.5448, allocations: 7.824 MB / 0.625 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.5449, allocations: 0 / 0.625 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01264/0.5575, allocations: 4.249 MB / 0.6291 GB, free: 10.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006294/0.5582, allocations: 247.1 kB / 0.6293 GB, free: 10.04 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001936/0.5584, allocations: 23.94 kB / 0.6294 GB, free: 10.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001252/0.5596, allocations: 95.89 kB / 0.6295 GB, free: 9.926 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005547/0.5602, allocations: 180.7 kB / 0.6296 GB, free: 9.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.911e-05/0.5603, allocations: 27.94 kB / 0.6297 GB, free: 9.723 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001139/0.5614, allocations: 0.8473 MB / 0.6305 GB, free: 8.871 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5614, allocations: 0 / 0.6305 GB, free: 8.871 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001288/0.5627, allocations: 487.7 kB / 0.6309 GB, free: 8.395 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.01221/0.5749, allocations: 4.705 MB / 0.6355 GB, free: 3.656 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007869/0.5828, allocations: 2.48 MB / 0.638 GB, free: 1.172 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/0.5829, allocations: 4 kB / 0.638 GB, free: 1.168 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004259/0.5871, allocations: 1.361 MB / 0.6393 GB, free: 15.8 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001161/0.5883, allocations: 108.6 kB / 0.6394 GB, free: 15.7 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0281/0.6164, allocations: 15.54 MB / 0.6546 GB, free: 15.67 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006619/0.6171, allocations: 1.109 MB / 0.6557 GB, free: 14.54 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005866/0.6177, allocations: 124.7 kB / 0.6558 GB, free: 14.41 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007267/0.6185, allocations: 0.4915 MB / 0.6563 GB, free: 13.92 MB / 478.1 MB Notification: Performance of SimCode: time 1.052e-06/0.6185, allocations: 0 / 0.6563 GB, free: 13.92 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06941/0.6879, allocations: 35.79 MB / 0.6912 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.9/13.58, allocations: 14.8 kB / 0.6912 GB, free: 10.26 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 & /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)