Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 106.6 kB / 16.45 MB, free: 6.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.514/1.514, allocations: 230.6 MB / 249.8 MB, free: 9.223 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001683/0.001683, allocations: 208.8 kB / 306 MB, free: 4.34 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.5647/0.5647, allocations: 101.3 MB / 463.4 MB, free: 11.92 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002425/0.002425, allocations: 89.44 kB / 0.6193 GB, free: 15.52 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.1625, allocations: 78.59 MB / 0.696 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.3609/0.5235, allocations: 8.305 MB / 0.7041 GB, free: 3.801 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005479/0.5289, allocations: 2.649 MB / 0.7067 GB, free: 1.957 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001374/0.5303, allocations: 11.06 kB / 0.7067 GB, free: 1.957 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007718/0.5311, allocations: 307.5 kB / 0.707 GB, free: 1.793 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003013/0.5341, allocations: 1.208 MB / 0.7082 GB, free: 1.023 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001518/0.5356, allocations: 0.6993 MB / 0.7089 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003275/0.5389, allocations: 2.391 MB / 0.7112 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004442/0.5393, allocations: 217 kB / 0.7114 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001553/0.5409, allocations: 0.9872 MB / 0.7124 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001815/0.5427, allocations: 1.345 MB / 0.7137 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003215/0.543, allocations: 204.2 kB / 0.7139 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008116/0.5438, allocations: 388.3 kB / 0.7143 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005343/0.5444, allocations: 0.5049 MB / 0.7148 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001041/0.5454, allocations: 0.9738 MB / 0.7157 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003188/0.5486, allocations: 2.352 MB / 0.718 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.5486, allocations: 6.812 kB / 0.718 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.914e-06/0.5486, allocations: 0 / 0.718 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.812e-05/0.5487, allocations: 0 / 0.718 GB, free: 12.32 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.01781/0.5665, allocations: 4.173 MB / 0.7221 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.327e-05/0.5665, allocations: 14.06 kB / 0.7221 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000258/0.5668, allocations: 136.8 kB / 0.7222 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003978/0.5708, allocations: 0.5853 MB / 0.7228 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002504/0.5733, allocations: 1.234 MB / 0.724 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004154/0.5737, allocations: 272.5 kB / 0.7243 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002743/0.574, allocations: 115.3 kB / 0.7244 GB, free: 9.363 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002963/0.5769, allocations: 1.108 MB / 0.7255 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.028e-05/0.5769, allocations: 0 / 0.7255 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001288/0.5771, allocations: 35.56 kB / 0.7255 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.63e-05/0.5771, allocations: 29.06 kB / 0.7255 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003309/0.5804, allocations: 1.198 MB / 0.7267 GB, free: 8.523 MB / 0.4981 GB 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.01029/0.5907, allocations: 4.635 MB / 0.7312 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003964/0.5947, allocations: 2.079 MB / 0.7333 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001656/0.5963, allocations: 0.7277 MB / 0.734 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001353/0.5965, allocations: 23.33 kB / 0.734 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.915e-05/0.5965, allocations: 55.94 kB / 0.734 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=133): time 3.857e-06/0.5965, allocations: 0 / 0.734 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of matching and sorting (n=133): time 0.03169/0.6282, allocations: 6.973 MB / 0.7409 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.441e-05/0.6283, allocations: 65.94 kB / 0.7409 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003489/0.6318, allocations: 1.653 MB / 0.7425 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0005697/0.6323, allocations: 60.58 kB / 0.7426 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006659/0.633, allocations: 0.5552 MB / 0.7431 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008322/0.6338, allocations: 0.5279 MB / 0.7437 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001059/0.6349, allocations: 0.5164 MB / 0.7442 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.635, allocations: 302.5 kB / 0.7444 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002588/0.6376, allocations: 1.159 MB / 0.7456 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002926/0.6406, allocations: 1.38 MB / 0.7469 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005106/0.6457, allocations: 2.368 MB / 0.7492 GB, free: 9.883 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.165e-05/0.6457, allocations: 0 / 0.7492 GB, free: 9.883 MB / 0.5137 GB Notification: Performance of matching and sorting (n=351) (initialization): time 0.0122/0.6579, allocations: 4.316 MB / 0.7535 GB, free: 6.742 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3e-05/0.6579, allocations: 8 kB / 0.7535 GB, free: 6.734 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/0.6579, allocations: 3.938 kB / 0.7535 GB, free: 6.73 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01232/0.6702, allocations: 2.893 MB / 0.7563 GB, free: 3.832 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002802/0.673, allocations: 487.3 kB / 0.7568 GB, free: 3.355 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006781/0.6798, allocations: 2.552 MB / 0.7592 GB, free: 0.7773 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003718/0.6835, allocations: 258.4 kB / 0.7595 GB, free: 0.5234 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003628/0.6839, allocations: 95.95 kB / 0.7596 GB, free: 440 kB / 0.5137 GB 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 (284): * Single equations (assignments): 283 * 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.0008737/0.6848, allocations: 309.3 kB / 0.7599 GB, free: 120 kB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006048/0.6854, allocations: 179 kB / 0.76 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01222/0.6976, allocations: 3.585 MB / 0.7635 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.268e-05/0.6976, allocations: 16 kB / 0.7636 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/0.6976, allocations: 3.75 kB / 0.7636 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.119e-05/0.6977, allocations: 7.969 kB / 0.7636 GB, free: 12.31 MB / 0.5294 GB 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.01623/0.7139, allocations: 5.709 MB / 0.7692 GB, free: 6.438 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-05/0.7139, allocations: 4 kB / 0.7692 GB, free: 6.434 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001245/0.7152, allocations: 175.7 kB / 0.7693 GB, free: 6.262 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006231/0.7214, allocations: 1.535 MB / 0.7708 GB, free: 4.723 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002979/0.7217, allocations: 31.98 kB / 0.7709 GB, free: 4.691 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02188/0.7436, allocations: 8.003 MB / 0.7787 GB, free: 12.54 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.7436, allocations: 0 / 0.7787 GB, free: 12.54 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01507/0.7586, allocations: 4.621 MB / 0.7832 GB, free: 7.891 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001102/0.7597, allocations: 311.7 kB / 0.7835 GB, free: 7.566 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003241/0.7601, allocations: 23.98 kB / 0.7835 GB, free: 7.543 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001597/0.7617, allocations: 87.92 kB / 0.7836 GB, free: 7.457 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006893/0.7624, allocations: 193.5 kB / 0.7838 GB, free: 7.266 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001018/0.7625, allocations: 39.92 kB / 0.7838 GB, free: 7.227 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00176/0.7642, allocations: 1.09 MB / 0.7849 GB, free: 6.141 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7642, allocations: 3.938 kB / 0.7849 GB, free: 6.137 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001921/0.7661, allocations: 0.5973 MB / 0.7855 GB, free: 5.539 MB / 0.545 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 (96): * Single equations (assignments): 95 * 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.01486/0.781, allocations: 5.225 MB / 0.7906 GB, free: 288 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.009239/0.7902, allocations: 2.806 MB / 0.7933 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.7902, allocations: 0 / 0.7933 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005205/0.7954, allocations: 1.493 MB / 0.7948 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001662/0.7971, allocations: 134.7 kB / 0.7949 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04323/0.8403, allocations: 18.95 MB / 0.8134 GB, free: 8.637 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009938/0.8413, allocations: 1.238 MB / 0.8146 GB, free: 7.371 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008904/0.8422, allocations: 163.2 kB / 0.8148 GB, free: 7.207 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001158/0.8434, allocations: 0.632 MB / 0.8154 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of SimCode: time 9.52e-07/0.8434, allocations: 4 kB / 0.8154 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1021/0.9455, allocations: 45.9 MB / 0.8602 GB, free: 8.883 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.29/17.24, allocations: 1.562 kB / 0.8602 GB, free: 8.883 MB / 0.6231 GB " [Timeout remaining time 643] (rm -f OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_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_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system.fmu > OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.892146403202787] Failed to read output from testmodel.py, exit status != 0: 17.362437368137762 17.388530393 16.835083918 Calling exit ...