Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_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.001352/0.001352, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.348/1.348, allocations: 222.9 MB / 238.8 MB, free: 4.734 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.00144/0.00144, allocations: 188.5 kB / 289.1 MB, free: 2.469 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4599/0.4599, allocations: 78.52 MB / 417.8 MB, free: 3.348 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 75.88 kB / 496.9 MB, free: 6.695 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1522, allocations: 68.17 MB / 0.5518 GB, free: 2.473 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system): time 0.2633/0.4156, allocations: 7.18 MB / 0.5588 GB, free: 35.68 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004364/0.42, allocations: 2.329 MB / 0.5611 GB, free: 35.05 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008742/0.4209, allocations: 11.16 kB / 0.5611 GB, free: 35.05 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006397/0.4216, allocations: 201.1 kB / 0.5613 GB, free: 35.04 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002682/0.4243, allocations: 1.131 MB / 0.5624 GB, free: 34.8 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009465/0.4253, allocations: 462.4 kB / 0.5628 GB, free: 34.77 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001874/0.4271, allocations: 1.916 MB / 0.5647 GB, free: 34.63 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000357/0.4275, allocations: 240.4 kB / 0.5649 GB, free: 34.59 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008408/0.4284, allocations: 0.7024 MB / 0.5656 GB, free: 34.4 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008991/0.4293, allocations: 0.9707 MB / 0.5666 GB, free: 34.17 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001927/0.4295, allocations: 91.97 kB / 0.5666 GB, free: 34.17 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006046/0.4301, allocations: 263.9 kB / 0.5669 GB, free: 34.15 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002541/0.4304, allocations: 344.3 kB / 0.5672 GB, free: 34.06 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005373/0.4309, allocations: 0.711 MB / 0.5679 GB, free: 33.8 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001355/0.4323, allocations: 1.82 MB / 0.5697 GB, free: 33.39 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.4323, allocations: 2.844 kB / 0.5697 GB, free: 33.39 MB / 430.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.4323, allocations: 0.7188 kB / 0.5697 GB, free: 33.39 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.569e-05/0.4323, allocations: 0 / 0.5697 GB, free: 33.39 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.01438/0.4467, allocations: 3.896 MB / 0.5735 GB, free: 32.38 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.382e-05/0.4468, allocations: 10.59 kB / 0.5735 GB, free: 32.38 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001476/0.4469, allocations: 123.7 kB / 0.5736 GB, free: 32.34 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002904/0.4498, allocations: 0.5222 MB / 0.5741 GB, free: 32.24 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001377/0.4512, allocations: 0.9718 MB / 0.5751 GB, free: 31.82 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002511/0.4515, allocations: 231.5 kB / 0.5753 GB, free: 31.66 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001564/0.4516, allocations: 90.62 kB / 0.5754 GB, free: 31.66 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001887/0.4535, allocations: 0.9793 MB / 0.5764 GB, free: 31.6 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/0.4536, allocations: 0 / 0.5764 GB, free: 31.6 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.479e-05/0.4537, allocations: 33.62 kB / 0.5764 GB, free: 31.6 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.295e-05/0.4537, allocations: 14.81 kB / 0.5764 GB, free: 31.6 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002218/0.4559, allocations: 1.099 MB / 0.5775 GB, free: 31.57 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.005378/0.4613, allocations: 3.741 MB / 0.5811 GB, free: 29.87 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002958/0.4643, allocations: 1.661 MB / 0.5828 GB, free: 28.88 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00138/0.4657, allocations: 0.7177 MB / 0.5835 GB, free: 28.61 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001096/0.4658, allocations: 20.44 kB / 0.5835 GB, free: 28.6 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.141e-05/0.4658, allocations: 42.53 kB / 0.5835 GB, free: 28.56 MB / 430.1 MB Notification: Performance of pre-optimization done (n=103): time 2.895e-06/0.4658, allocations: 0 / 0.5835 GB, free: 28.56 MB / 430.1 MB Notification: Performance of matching and sorting (n=103): time 0.02162/0.4874, allocations: 5.593 MB / 0.589 GB, free: 27.37 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/0.4875, allocations: 66.81 kB / 0.589 GB, free: 27.3 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002437/0.49, allocations: 1.281 MB / 0.5903 GB, free: 26.76 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003582/0.4903, allocations: 46.52 kB / 0.5903 GB, free: 26.71 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003907/0.4907, allocations: 480.3 kB / 0.5908 GB, free: 26.34 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004653/0.4912, allocations: 393.6 kB / 0.5912 GB, free: 26.03 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007614/0.492, allocations: 388.4 kB / 0.5915 GB, free: 25.85 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.698e-05/0.492, allocations: 301.9 kB / 0.5918 GB, free: 25.55 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00212/0.4942, allocations: 0.9443 MB / 0.5927 GB, free: 25.2 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002246/0.4964, allocations: 1.109 MB / 0.5938 GB, free: 24.72 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004027/0.5005, allocations: 1.936 MB / 0.5957 GB, free: 23.82 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/0.5005, allocations: 0 / 0.5957 GB, free: 23.82 MB / 430.1 MB Notification: Performance of matching and sorting (n=256) (initialization): time 0.007059/0.5075, allocations: 3.04 MB / 0.5987 GB, free: 22.61 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.573e-05/0.5076, allocations: 6.5 kB / 0.5987 GB, free: 22.61 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/0.5076, allocations: 2.188 kB / 0.5987 GB, free: 22.61 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009859/0.5175, allocations: 2.28 MB / 0.6009 GB, free: 22.27 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002054/0.5196, allocations: 357 kB / 0.6013 GB, free: 22.24 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005362/0.525, allocations: 2.274 MB / 0.6035 GB, free: 21.1 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002546/0.5275, allocations: 218.3 kB / 0.6037 GB, free: 20.99 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001996/0.5277, allocations: 66.39 kB / 0.6038 GB, free: 20.97 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.0005465/0.5283, allocations: 268 kB / 0.604 GB, free: 20.75 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002879/0.5286, allocations: 132.3 kB / 0.6041 GB, free: 20.68 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01122/0.5398, allocations: 3.35 MB / 0.6074 GB, free: 19.82 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.71e-05/0.5399, allocations: 10.28 kB / 0.6074 GB, free: 19.82 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.086e-05/0.5399, allocations: 1.031 kB / 0.6074 GB, free: 19.82 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.865e-05/0.54, allocations: 5.391 kB / 0.6074 GB, free: 19.82 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.01438/0.5543, allocations: 5.031 MB / 0.6123 GB, free: 17.16 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.038e-05/0.5544, allocations: 5.812 kB / 0.6123 GB, free: 17.16 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000962/0.5554, allocations: 131.8 kB / 0.6125 GB, free: 17.03 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004987/0.5604, allocations: 1.439 MB / 0.6139 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003007/0.5607, allocations: 23.98 kB / 0.6139 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01668/0.5774, allocations: 7.151 MB / 0.6209 GB, free: 8.277 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.942e-06/0.5775, allocations: 4.891 kB / 0.6209 GB, free: 8.273 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01194/0.5894, allocations: 4.229 MB / 0.625 GB, free: 4.023 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006807/0.5901, allocations: 251.1 kB / 0.6253 GB, free: 3.758 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000503/0.5907, allocations: 20 kB / 0.6253 GB, free: 3.738 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001639/0.5923, allocations: 92.78 kB / 0.6254 GB, free: 3.648 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006265/0.593, allocations: 185.7 kB / 0.6255 GB, free: 3.469 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001205/0.5931, allocations: 24 kB / 0.6256 GB, free: 3.445 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001336/0.5944, allocations: 0.8512 MB / 0.6264 GB, free: 2.59 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.5945, allocations: 0 / 0.6264 GB, free: 2.59 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001886/0.5963, allocations: 483.6 kB / 0.6269 GB, free: 2.117 MB / 430.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.01224/0.6086, allocations: 4.712 MB / 0.6315 GB, free: 13.37 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008104/0.6168, allocations: 2.439 MB / 0.6338 GB, free: 10.94 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.6168, allocations: 1.406 kB / 0.6338 GB, free: 10.94 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004407/0.6212, allocations: 1.333 MB / 0.6351 GB, free: 9.598 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001872/0.6231, allocations: 110.4 kB / 0.6352 GB, free: 9.488 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03514/0.6583, allocations: 15.91 MB / 0.6508 GB, free: 9.156 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008495/0.6592, allocations: 1.113 MB / 0.6519 GB, free: 8.008 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007389/0.66, allocations: 122.8 kB / 0.652 GB, free: 7.887 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009349/0.6609, allocations: 496.3 kB / 0.6525 GB, free: 7.406 MB / 462.1 MB Notification: Performance of SimCode: time 1.143e-06/0.6609, allocations: 0 / 0.6525 GB, free: 7.406 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06267/0.7236, allocations: 33.17 MB / 0.6849 GB, free: 6.605 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000217/0.7239, allocations: 255.1 kB / 0.6851 GB, free: 6.348 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.946/3.67, allocations: 5.625 kB / 0.6851 GB, free: 6.344 MB / 494.1 MB (rm -f OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system.fmu > OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe 2>&1)