Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_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.Generator_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Generator_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.005232/0.005232, allocations: 101.8 kB / 15.73 MB, free: 6.441 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.332/1.332, allocations: 222.9 MB / 239.4 MB, free: 4.523 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.001199/0.001199, allocations: 188.5 kB / 289.7 MB, free: 2.246 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4447/0.4447, allocations: 78.53 MB / 418.4 MB, free: 3.215 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001518, allocations: 83.81 kB / 0.5531 GB, free: 1.473 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3148/0.3163, allocations: 68.17 MB / 0.6197 GB, free: 9.289 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.007118/0.3235, allocations: 8.214 MB / 0.6277 GB, free: 1.922 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005547/0.3291, allocations: 2.62 MB / 0.6303 GB, free: 15.3 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001546/0.3307, allocations: 8 kB / 0.6303 GB, free: 15.29 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007991/0.3316, allocations: 309.3 kB / 0.6306 GB, free: 14.98 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004122/0.3357, allocations: 1.547 MB / 0.6321 GB, free: 13.45 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001427/0.3371, allocations: 0.5974 MB / 0.6327 GB, free: 12.85 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003312/0.3405, allocations: 2.558 MB / 0.6352 GB, free: 10.29 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005958/0.3411, allocations: 316.8 kB / 0.6355 GB, free: 9.949 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001463/0.3426, allocations: 1.012 MB / 0.6365 GB, free: 8.934 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001581/0.3442, allocations: 1.358 MB / 0.6378 GB, free: 7.566 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000385/0.3446, allocations: 204 kB / 0.638 GB, free: 7.367 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007691/0.3453, allocations: 387.8 kB / 0.6384 GB, free: 6.988 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004089/0.3457, allocations: 0.5138 MB / 0.6389 GB, free: 6.473 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009051/0.3467, allocations: 0.9868 MB / 0.6398 GB, free: 5.48 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002908/0.3496, allocations: 2.382 MB / 0.6421 GB, free: 3.098 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.3496, allocations: 0 / 0.6421 GB, free: 3.098 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.275e-06/0.3496, allocations: 0 / 0.6421 GB, free: 3.098 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.986e-05/0.3497, allocations: 7.938 kB / 0.6421 GB, free: 3.09 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.02045/0.3701, allocations: 5.01 MB / 0.647 GB, free: 14.02 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.3702, allocations: 8.031 kB / 0.647 GB, free: 14.01 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001838/0.3704, allocations: 135.4 kB / 0.6472 GB, free: 13.87 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003665/0.3741, allocations: 0.5886 MB / 0.6478 GB, free: 13.28 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002355/0.3764, allocations: 1.229 MB / 0.649 GB, free: 12 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002817/0.3767, allocations: 260.8 kB / 0.6492 GB, free: 11.71 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002548/0.377, allocations: 123.9 kB / 0.6493 GB, free: 11.59 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002197/0.3792, allocations: 1.089 MB / 0.6504 GB, free: 10.5 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.158e-05/0.3793, allocations: 0 / 0.6504 GB, free: 10.5 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001061/0.3794, allocations: 32 kB / 0.6504 GB, free: 10.46 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.963e-05/0.3794, allocations: 23.94 kB / 0.6504 GB, free: 10.44 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002338/0.3817, allocations: 1.179 MB / 0.6516 GB, free: 9.258 MB / 462.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.008629/0.3904, allocations: 4.611 MB / 0.6561 GB, free: 4.426 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003348/0.3938, allocations: 2.159 MB / 0.6582 GB, free: 2.082 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001524/0.3953, allocations: 0.7829 MB / 0.659 GB, free: 1.297 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001261/0.3955, allocations: 29.28 kB / 0.659 GB, free: 1.27 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.43e-05/0.3955, allocations: 47.88 kB / 0.659 GB, free: 1.211 MB / 462.1 MB Notification: Performance of pre-optimization done (n=130): time 3.196e-06/0.3955, allocations: 0 / 0.659 GB, free: 1.211 MB / 462.1 MB Notification: Performance of matching and sorting (n=130): time 0.02624/0.4218, allocations: 6.696 MB / 0.6656 GB, free: 10.48 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.525e-05/0.4219, allocations: 64.72 kB / 0.6656 GB, free: 10.4 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002593/0.4245, allocations: 1.659 MB / 0.6673 GB, free: 8.734 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004136/0.4249, allocations: 57.64 kB / 0.6673 GB, free: 8.672 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004666/0.4254, allocations: 0.5582 MB / 0.6679 GB, free: 8.105 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005778/0.426, allocations: 0.5114 MB / 0.6684 GB, free: 7.59 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008357/0.4268, allocations: 0.5212 MB / 0.6689 GB, free: 7.062 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.684e-05/0.4269, allocations: 301.1 kB / 0.6692 GB, free: 6.766 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002187/0.4291, allocations: 1.149 MB / 0.6703 GB, free: 5.613 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002512/0.4316, allocations: 1.36 MB / 0.6716 GB, free: 4.227 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004417/0.4361, allocations: 2.338 MB / 0.6739 GB, free: 1.848 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.025e-05/0.4361, allocations: 0 / 0.6739 GB, free: 1.848 MB / 478.1 MB Notification: Performance of matching and sorting (n=348) (initialization): time 0.009403/0.4455, allocations: 4.087 MB / 0.6779 GB, free: 13.72 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.219e-05/0.4456, allocations: 8 kB / 0.6779 GB, free: 13.71 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/0.4456, allocations: 0 / 0.6779 GB, free: 13.71 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01099/0.4566, allocations: 2.827 MB / 0.6806 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00255/0.4592, allocations: 487.3 kB / 0.6811 GB, free: 10.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005966/0.4652, allocations: 2.528 MB / 0.6836 GB, free: 7.848 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003097/0.4683, allocations: 250.4 kB / 0.6838 GB, free: 7.602 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000415/0.4688, allocations: 87.97 kB / 0.6839 GB, free: 7.516 MB / 494.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 (281): * Single equations (assignments): 280 * 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 {(30,38)} Notification: Performance of prepare postOptimizeDAE: time 0.0008338/0.4696, allocations: 317.3 kB / 0.6842 GB, free: 7.195 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005219/0.4702, allocations: 174.8 kB / 0.6844 GB, free: 7.023 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01087/0.481, allocations: 3.55 MB / 0.6878 GB, free: 3.453 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.228e-05/0.4811, allocations: 23.92 kB / 0.6879 GB, free: 3.43 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.779e-06/0.4811, allocations: 0 / 0.6879 GB, free: 3.43 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-05/0.4812, allocations: 7.984 kB / 0.6879 GB, free: 3.422 MB / 494.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.01443/0.4956, allocations: 5.642 MB / 0.6934 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.458e-05/0.4957, allocations: 8 kB / 0.6934 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001103/0.4968, allocations: 163.8 kB / 0.6935 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0055/0.5023, allocations: 1.48 MB / 0.695 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003046/0.5026, allocations: 31.98 kB / 0.695 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01951/0.5221, allocations: 7.858 MB / 0.7027 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.5222, allocations: 0 / 0.7027 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.014/0.5362, allocations: 4.578 MB / 0.7072 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007538/0.537, allocations: 307.7 kB / 0.7075 GB, free: 15 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005821/0.5376, allocations: 24 kB / 0.7075 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001863/0.5395, allocations: 83.92 kB / 0.7076 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006931/0.5402, allocations: 197.4 kB / 0.7077 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001884/0.5404, allocations: 35.98 kB / 0.7078 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002065/0.5425, allocations: 1.094 MB / 0.7089 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.41e-07/0.5425, allocations: 0 / 0.7089 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002334/0.5448, allocations: 0.5895 MB / 0.7094 GB, free: 12.98 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,gENROE1.w,gENROE1.delta,gENROE1.Epd,gENROE1.Epq,gENROE1.PSIkd,gENROE1.PSIkq,gENROE2.w,gENROE2.delta,gENROE2.Epd,gENROE2.Epq,gENROE2.PSIkd,gENROE2.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 (93): * Single equations (assignments): 92 * 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 {(16,31)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01384/0.5587, allocations: 5.173 MB / 0.7145 GB, free: 7.777 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.009067/0.5678, allocations: 3.014 MB / 0.7174 GB, free: 4.762 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.249e-06/0.5678, allocations: 0 / 0.7174 GB, free: 4.762 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004836/0.5727, allocations: 1.528 MB / 0.7189 GB, free: 3.219 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001874/0.5746, allocations: 133.6 kB / 0.719 GB, free: 3.086 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04182/0.6164, allocations: 18.94 MB / 0.7375 GB, free: 15.89 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009511/0.6174, allocations: 1.242 MB / 0.7387 GB, free: 14.62 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0008396/0.6183, allocations: 167.2 kB / 0.7389 GB, free: 14.45 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001199/0.6195, allocations: 0.632 MB / 0.7395 GB, free: 13.82 MB / 0.545 GB Notification: Performance of SimCode: time 1.052e-06/0.6195, allocations: 0 / 0.7395 GB, free: 13.82 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3531/0.9726, allocations: 45.04 MB / 0.7835 GB, free: 136.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.38/15.35, allocations: 11.22 kB / 0.7835 GB, free: 136.2 MB / 0.5606 GB (rm -f OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.sim & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system.fmu > OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe 2>&1)