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.00118/0.00118, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.493/1.493, allocations: 222.9 MB / 238.9 MB, free: 4.773 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.001483/0.001483, allocations: 195.6 kB / 289.2 MB, free: 2.508 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.6032/0.6032, allocations: 91.9 MB / 431.2 MB, free: 9.457 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001771/0.001771, allocations: 79.89 kB / 0.5013 GB, free: 8.082 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5957/0.5975, allocations: 71.26 MB / 0.5709 GB, free: 36.52 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system): time 0.007001/0.6046, allocations: 7.196 MB / 0.5779 GB, free: 32.32 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004909/0.6095, allocations: 2.326 MB / 0.5802 GB, free: 30.75 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001113/0.6107, allocations: 11.28 kB / 0.5802 GB, free: 30.75 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006463/0.6114, allocations: 205.3 kB / 0.5804 GB, free: 30.67 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002288/0.6137, allocations: 0.8587 MB / 0.5813 GB, free: 30.12 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001144/0.6148, allocations: 0.5422 MB / 0.5818 GB, free: 29.84 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001874/0.6167, allocations: 1.754 MB / 0.5835 GB, free: 29.03 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004227/0.6171, allocations: 236.8 kB / 0.5837 GB, free: 28.93 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008894/0.618, allocations: 0.6718 MB / 0.5844 GB, free: 28.64 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009207/0.619, allocations: 0.9454 MB / 0.5853 GB, free: 28.23 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001896/0.6192, allocations: 95.39 kB / 0.5854 GB, free: 28.23 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007249/0.6199, allocations: 259.8 kB / 0.5856 GB, free: 28.17 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003059/0.6202, allocations: 330.8 kB / 0.586 GB, free: 27.98 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006629/0.6209, allocations: 0.7009 MB / 0.5866 GB, free: 27.54 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001785/0.6227, allocations: 1.789 MB / 0.5884 GB, free: 26.78 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.6227, allocations: 0 / 0.5884 GB, free: 26.78 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.6227, allocations: 1.312 kB / 0.5884 GB, free: 26.78 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.738e-05/0.6227, allocations: 0 / 0.5884 GB, free: 26.78 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.01311/0.6359, allocations: 3.328 MB / 0.5916 GB, free: 25.46 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.213e-05/0.6359, allocations: 9.312 kB / 0.5916 GB, free: 25.46 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000169/0.6361, allocations: 119.5 kB / 0.5918 GB, free: 25.38 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003198/0.6393, allocations: 0.5223 MB / 0.5923 GB, free: 25.24 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001718/0.641, allocations: 0.9708 MB / 0.5932 GB, free: 24.59 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002813/0.6413, allocations: 232.6 kB / 0.5934 GB, free: 24.4 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000185/0.6415, allocations: 94.08 kB / 0.5935 GB, free: 24.37 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00226/0.6438, allocations: 0.9823 MB / 0.5945 GB, free: 24.01 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.042e-05/0.6438, allocations: 3.938 kB / 0.5945 GB, free: 24 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.99e-05/0.6439, allocations: 25.84 kB / 0.5945 GB, free: 23.98 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.888e-05/0.644, allocations: 15.91 kB / 0.5945 GB, free: 23.98 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002747/0.6467, allocations: 1.096 MB / 0.5956 GB, free: 23.64 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.008531/0.6553, allocations: 3.747 MB / 0.5993 GB, free: 21.47 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003256/0.6585, allocations: 1.67 MB / 0.6009 GB, free: 20.46 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0016/0.6602, allocations: 0.7179 MB / 0.6016 GB, free: 20.18 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001153/0.6603, allocations: 17.78 kB / 0.6016 GB, free: 20.18 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/0.6603, allocations: 47.78 kB / 0.6017 GB, free: 20.13 MB / 430.1 MB Notification: Performance of pre-optimization done (n=103): time 3.837e-06/0.6603, allocations: 3.938 kB / 0.6017 GB, free: 20.12 MB / 430.1 MB Notification: Performance of matching and sorting (n=103): time 0.02348/0.6838, allocations: 5.593 MB / 0.6071 GB, free: 18.93 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.21e-05/0.6839, allocations: 65.41 kB / 0.6072 GB, free: 18.87 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002592/0.6865, allocations: 1.277 MB / 0.6084 GB, free: 18.33 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004433/0.687, allocations: 50.58 kB / 0.6085 GB, free: 18.28 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004252/0.6874, allocations: 471.2 kB / 0.6089 GB, free: 17.91 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005607/0.688, allocations: 394.5 kB / 0.6093 GB, free: 17.61 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008172/0.6888, allocations: 382.1 kB / 0.6097 GB, free: 17.43 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.218e-05/0.6889, allocations: 301.9 kB / 0.61 GB, free: 17.13 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002369/0.6913, allocations: 0.9474 MB / 0.6109 GB, free: 16.77 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002447/0.6937, allocations: 1.105 MB / 0.612 GB, free: 16.3 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004303/0.6981, allocations: 1.933 MB / 0.6139 GB, free: 15.4 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.518e-06/0.6981, allocations: 0 / 0.6139 GB, free: 15.4 MB / 430.1 MB Notification: Performance of matching and sorting (n=256) (initialization): time 0.007666/0.7058, allocations: 3.04 MB / 0.6168 GB, free: 14.18 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.207e-05/0.7058, allocations: 7.125 kB / 0.6168 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/0.7059, allocations: 1.438 kB / 0.6168 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009158/0.715, allocations: 2.282 MB / 0.6191 GB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002174/0.7172, allocations: 355.5 kB / 0.6194 GB, free: 12.67 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005338/0.7226, allocations: 2.277 MB / 0.6216 GB, free: 10.37 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003241/0.7258, allocations: 218.3 kB / 0.6218 GB, free: 10.15 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004708/0.7263, allocations: 71.97 kB / 0.6219 GB, free: 10.08 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.001105/0.7275, allocations: 261.5 kB / 0.6221 GB, free: 9.816 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007674/0.7282, allocations: 134.3 kB / 0.6223 GB, free: 9.684 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01055/0.7388, allocations: 3.346 MB / 0.6255 GB, free: 6.32 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.025e-05/0.7389, allocations: 12 kB / 0.6256 GB, free: 6.309 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.495e-05/0.7389, allocations: 0 / 0.6256 GB, free: 6.309 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.777e-05/0.7389, allocations: 7.969 kB / 0.6256 GB, free: 6.301 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.01417/0.7531, allocations: 5.031 MB / 0.6305 GB, free: 1.137 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.057e-05/0.7532, allocations: 7.984 kB / 0.6305 GB, free: 1.129 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009237/0.7541, allocations: 131.8 kB / 0.6306 GB, free: 1 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005334/0.7595, allocations: 1.437 MB / 0.632 GB, free: 15.56 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002087/0.7597, allocations: 16 kB / 0.632 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02032/0.7801, allocations: 7.16 MB / 0.639 GB, free: 8.238 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.7802, allocations: 0 / 0.639 GB, free: 8.238 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01513/0.7953, allocations: 4.229 MB / 0.6432 GB, free: 3.988 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001326/0.7967, allocations: 255.1 kB / 0.6434 GB, free: 3.719 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008486/0.7976, allocations: 16 kB / 0.6434 GB, free: 3.703 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002008/0.7996, allocations: 99.89 kB / 0.6435 GB, free: 3.605 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008422/0.8005, allocations: 176.6 kB / 0.6437 GB, free: 3.434 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001934/0.8007, allocations: 31.92 kB / 0.6437 GB, free: 3.402 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001912/0.8026, allocations: 0.8512 MB / 0.6445 GB, free: 2.547 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.8026, allocations: 0 / 0.6445 GB, free: 2.547 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002909/0.8056, allocations: 475.6 kB / 0.645 GB, free: 2.082 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.01401/0.8196, allocations: 4.714 MB / 0.6496 GB, free: 13.33 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008596/0.8282, allocations: 2.439 MB / 0.652 GB, free: 10.9 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.8283, allocations: 0 / 0.652 GB, free: 10.9 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004681/0.833, allocations: 1.332 MB / 0.6533 GB, free: 9.551 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002392/0.8354, allocations: 117.5 kB / 0.6534 GB, free: 9.434 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0399/0.8753, allocations: 15.91 MB / 0.6689 GB, free: 9.043 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001027/0.8764, allocations: 1.113 MB / 0.67 GB, free: 7.895 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008928/0.8774, allocations: 124.7 kB / 0.6701 GB, free: 7.77 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001123/0.8785, allocations: 499.3 kB / 0.6706 GB, free: 7.281 MB / 478.1 MB Notification: Performance of SimCode: time 1.723e-06/0.8785, allocations: 0 / 0.6706 GB, free: 7.281 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07438/0.9529, allocations: 33.18 MB / 0.703 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002505/0.9532, allocations: 268.3 kB / 0.7033 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.304/4.257, allocations: 0 / 0.7033 GB, free: 6.086 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)