Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.conf.json 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 4.0.0+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 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_dev_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001623/0.001623, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 222.9 MB / 239.3 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001551/0.001551, allocations: 184.5 kB / 289.5 MB, free: 2.332 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5554/0.5554, allocations: 91.9 MB / 431.6 MB, free: 9.258 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001645/0.001646, allocations: 79.86 kB / 0.502 GB, free: 7.625 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4342/0.4358, allocations: 71.26 MB / 0.5716 GB, free: 36.58 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system): time 0.006166/0.442, allocations: 6.947 MB / 0.5784 GB, free: 32.49 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004099/0.4462, allocations: 2.291 MB / 0.5806 GB, free: 30.89 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006588/0.4469, allocations: 8.438 kB / 0.5806 GB, free: 30.89 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004993/0.4474, allocations: 260 kB / 0.5809 GB, free: 30.75 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001962/0.4494, allocations: 0.9642 MB / 0.5818 GB, free: 30.13 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001058/0.4504, allocations: 0.5921 MB / 0.5824 GB, free: 29.84 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001627/0.4521, allocations: 1.835 MB / 0.5842 GB, free: 28.96 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003887/0.4525, allocations: 257.4 kB / 0.5844 GB, free: 28.87 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008117/0.4533, allocations: 0.7486 MB / 0.5851 GB, free: 28.5 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009165/0.4542, allocations: 1 MB / 0.5861 GB, free: 28.04 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002474/0.4545, allocations: 155.2 kB / 0.5863 GB, free: 28.04 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006909/0.4552, allocations: 336.2 kB / 0.5866 GB, free: 27.99 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002552/0.4554, allocations: 391.5 kB / 0.587 GB, free: 27.74 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005643/0.456, allocations: 0.7647 MB / 0.5877 GB, free: 27.23 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001734/0.4578, allocations: 1.84 MB / 0.5895 GB, free: 26.43 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.4578, allocations: 0 / 0.5895 GB, free: 26.43 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.4578, allocations: 0 / 0.5895 GB, free: 26.43 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.748e-05/0.4578, allocations: 1.312 kB / 0.5895 GB, free: 26.43 MB / 430.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.01194/0.4698, allocations: 3.333 MB / 0.5928 GB, free: 25.11 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.654e-05/0.4698, allocations: 9.562 kB / 0.5928 GB, free: 25.11 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001518/0.47, allocations: 119.4 kB / 0.5929 GB, free: 25.02 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003188/0.4732, allocations: 0.52 MB / 0.5934 GB, free: 24.89 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001518/0.4747, allocations: 0.972 MB / 0.5943 GB, free: 24.24 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002785/0.475, allocations: 232.6 kB / 0.5946 GB, free: 24.05 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001789/0.4752, allocations: 98.47 kB / 0.5947 GB, free: 24.01 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002096/0.4773, allocations: 0.9766 MB / 0.5956 GB, free: 23.66 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.993e-05/0.4773, allocations: 1.062 kB / 0.5956 GB, free: 23.66 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-05/0.4774, allocations: 25.56 kB / 0.5956 GB, free: 23.64 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.08e-05/0.4775, allocations: 16 kB / 0.5957 GB, free: 23.64 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002577/0.48, allocations: 1.094 MB / 0.5967 GB, free: 23.29 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 preOpt removeSimpleEquations (simulation): time 0.006497/0.4865, allocations: 3.748 MB / 0.6004 GB, free: 21.12 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003195/0.4898, allocations: 1.677 MB / 0.602 GB, free: 20.1 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001519/0.4913, allocations: 0.7181 MB / 0.6027 GB, free: 19.82 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.927e-05/0.4914, allocations: 21.7 kB / 0.6027 GB, free: 19.82 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.4914, allocations: 42.94 kB / 0.6028 GB, free: 19.77 MB / 430.1 MB Notification: Performance of pre-optimization done (n=103): time 2.865e-06/0.4914, allocations: 7.938 kB / 0.6028 GB, free: 19.76 MB / 430.1 MB Notification: Performance of matching and sorting (n=103): time 0.02383/0.5153, allocations: 5.59 MB / 0.6082 GB, free: 18.58 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/0.5154, allocations: 66.19 kB / 0.6083 GB, free: 18.51 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002344/0.5177, allocations: 1.276 MB / 0.6096 GB, free: 17.97 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003316/0.5181, allocations: 51.45 kB / 0.6096 GB, free: 17.92 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004048/0.5185, allocations: 471.1 kB / 0.6101 GB, free: 17.55 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004633/0.5189, allocations: 390.4 kB / 0.6104 GB, free: 17.25 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008019/0.5198, allocations: 386.8 kB / 0.6108 GB, free: 17.07 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.744e-05/0.5198, allocations: 301.1 kB / 0.6111 GB, free: 16.78 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002189/0.522, allocations: 0.9428 MB / 0.612 GB, free: 16.42 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002302/0.5243, allocations: 1.114 MB / 0.6131 GB, free: 15.94 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004076/0.5284, allocations: 1.933 MB / 0.615 GB, free: 15.04 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.143e-06/0.5284, allocations: 0 / 0.615 GB, free: 15.04 MB / 430.1 MB Notification: Performance of matching and sorting (n=256) (initialization): time 0.007535/0.536, allocations: 3.043 MB / 0.618 GB, free: 13.71 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.062e-05/0.5361, allocations: 6 kB / 0.618 GB, free: 13.71 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/0.5361, allocations: 1.969 kB / 0.618 GB, free: 13.71 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008987/0.5451, allocations: 2.288 MB / 0.6202 GB, free: 12.34 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001868/0.547, allocations: 359.5 kB / 0.6205 GB, free: 11.98 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004866/0.5519, allocations: 2.27 MB / 0.6228 GB, free: 9.688 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002558/0.5544, allocations: 226.3 kB / 0.623 GB, free: 9.465 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001581/0.5546, allocations: 63.98 kB / 0.623 GB, free: 9.402 MB / 430.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.0006044/0.5552, allocations: 261.5 kB / 0.6233 GB, free: 9.137 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002801/0.5555, allocations: 138.3 kB / 0.6234 GB, free: 9 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009909/0.5654, allocations: 3.353 MB / 0.6267 GB, free: 5.629 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/0.5655, allocations: 8 kB / 0.6267 GB, free: 5.621 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-06/0.5655, allocations: 4 kB / 0.6267 GB, free: 5.617 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.941e-05/0.5655, allocations: 3.984 kB / 0.6267 GB, free: 5.613 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.01184/0.5773, allocations: 5.035 MB / 0.6316 GB, free: 456 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/0.5774, allocations: 0 / 0.6316 GB, free: 456 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007677/0.5782, allocations: 131.9 kB / 0.6317 GB, free: 324 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005415/0.5836, allocations: 1.437 MB / 0.6331 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001479/0.5837, allocations: 31.86 kB / 0.6332 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01947/0.6032, allocations: 7.833 MB / 0.6408 GB, free: 6.859 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.6033, allocations: 0 / 0.6408 GB, free: 6.859 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01307/0.6164, allocations: 4.237 MB / 0.645 GB, free: 2.602 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007864/0.6172, allocations: 255 kB / 0.6452 GB, free: 2.332 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002421/0.6174, allocations: 23.94 kB / 0.6452 GB, free: 2.309 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001366/0.6188, allocations: 91.89 kB / 0.6453 GB, free: 2.219 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006097/0.6194, allocations: 180.8 kB / 0.6455 GB, free: 2.043 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.45e-05/0.6195, allocations: 27.98 kB / 0.6455 GB, free: 2.016 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001172/0.6207, allocations: 0.8473 MB / 0.6463 GB, free: 1.164 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.6207, allocations: 0 / 0.6463 GB, free: 1.164 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001423/0.6221, allocations: 483.6 kB / 0.6468 GB, free: 0.6914 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.01306/0.6352, allocations: 4.718 MB / 0.6514 GB, free: 11.95 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007965/0.6432, allocations: 2.484 MB / 0.6538 GB, free: 9.461 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.6432, allocations: 0 / 0.6538 GB, free: 9.461 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004386/0.6476, allocations: 1.368 MB / 0.6552 GB, free: 8.086 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001185/0.6488, allocations: 100.7 kB / 0.6553 GB, free: 7.984 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02931/0.6782, allocations: 15.53 MB / 0.6704 GB, free: 7.965 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007322/0.679, allocations: 1.109 MB / 0.6715 GB, free: 6.824 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006889/0.6797, allocations: 128.6 kB / 0.6716 GB, free: 6.695 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007446/0.6804, allocations: 0.4915 MB / 0.6721 GB, free: 6.203 MB / 478.1 MB Notification: Performance of SimCode: time 1.754e-06/0.6804, allocations: 4 kB / 0.6721 GB, free: 6.199 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07152/0.7519, allocations: 35.78 MB / 0.7071 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.31/13.06, allocations: 7.922 kB / 0.7071 GB, free: 2.621 MB / 0.4981 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system.fmu > OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe 2>&1)