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.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.0007787/0.0007787, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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 0.8708/0.8708, allocations: 177.2 MB / 199.4 MB, free: 5.934 MB / 186.7 MB " [Timeout remaining time 179] 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.0009768/0.0009768, allocations: 156.6 kB / 256 MB, free: 13.34 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.2691/0.2691, allocations: 80.23 MB / 392.6 MB, free: 3.617 MB / 362.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/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_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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 0.5548 GB, free: 400 kB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.554e-05/1.672e-05, allocations: 2.281 kB / 0.5548 GB, free: 396 kB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.005367/0.005383, allocations: 7.163 MB / 0.5618 GB, free: 9.195 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002861/0.008244, allocations: 2.529 MB / 0.5642 GB, free: 6.672 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003389/0.008583, allocations: 12 kB / 0.5642 GB, free: 6.66 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004101/0.008993, allocations: 313.2 kB / 0.5645 GB, free: 6.352 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001427/0.01042, allocations: 1.192 MB / 0.5657 GB, free: 5.156 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006831/0.0111, allocations: 0.6897 MB / 0.5664 GB, free: 4.469 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001649/0.01275, allocations: 2.432 MB / 0.5687 GB, free: 2.027 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002521/0.013, allocations: 209.3 kB / 0.5689 GB, free: 1.801 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008616/0.01387, allocations: 1.348 MB / 0.5703 GB, free: 460 kB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007767/0.01464, allocations: 1.091 MB / 0.5713 GB, free: 15.36 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001769/0.01482, allocations: 204 kB / 0.5715 GB, free: 15.16 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003716/0.01519, allocations: 371.7 kB / 0.5719 GB, free: 14.79 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002542/0.01545, allocations: 0.5137 MB / 0.5724 GB, free: 14.28 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000394/0.01584, allocations: 0.6931 MB / 0.5731 GB, free: 13.58 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001666/0.0175, allocations: 2.434 MB / 0.5754 GB, free: 11.14 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.01751, allocations: 0 / 0.5754 GB, free: 11.14 MB / 458.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.01751, allocations: 0 / 0.5754 GB, free: 11.14 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.485e-05/0.01752, allocations: 4 kB / 0.5754 GB, free: 11.14 MB / 458.7 MB 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.007234/0.02476, allocations: 4.076 MB / 0.5794 GB, free: 7.016 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.0248, allocations: 11.97 kB / 0.5794 GB, free: 7.004 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001318/0.02493, allocations: 139.5 kB / 0.5796 GB, free: 6.859 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001637/0.02657, allocations: 0.5886 MB / 0.5801 GB, free: 6.27 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001243/0.02781, allocations: 1.159 MB / 0.5813 GB, free: 5.078 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002146/0.02803, allocations: 332.2 kB / 0.5816 GB, free: 4.703 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004016/0.02843, allocations: 108 kB / 0.5817 GB, free: 4.598 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001328/0.02976, allocations: 1.112 MB / 0.5828 GB, free: 3.477 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.02977, allocations: 0 / 0.5828 GB, free: 3.477 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.207e-05/0.02984, allocations: 39.94 kB / 0.5828 GB, free: 3.438 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.265e-05/0.02986, allocations: 20 kB / 0.5828 GB, free: 3.418 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001507/0.03136, allocations: 1.187 MB / 0.584 GB, free: 2.234 MB / 458.7 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.00412/0.03548, allocations: 3.359 MB / 0.5873 GB, free: 14.82 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001743/0.03722, allocations: 1.31 MB / 0.5885 GB, free: 13.51 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001113/0.03834, allocations: 0.7347 MB / 0.5893 GB, free: 12.77 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.572e-05/0.03842, allocations: 29.28 kB / 0.5893 GB, free: 12.74 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/0.03845, allocations: 43.88 kB / 0.5893 GB, free: 12.69 MB / 474.7 MB Notification: Performance of pre-optimization done (n=133): time 2.946e-06/0.03845, allocations: 4 kB / 0.5893 GB, free: 12.68 MB / 474.7 MB Notification: Performance of matching and sorting (n=133): time 0.01456/0.05301, allocations: 6.88 MB / 0.5961 GB, free: 5.781 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.061e-05/0.05305, allocations: 68.66 kB / 0.5961 GB, free: 5.703 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00155/0.0546, allocations: 1.667 MB / 0.5978 GB, free: 4.027 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001054/0.05471, allocations: 61.7 kB / 0.5978 GB, free: 3.961 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003024/0.05501, allocations: 0.5543 MB / 0.5984 GB, free: 3.398 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003207/0.05533, allocations: 0.523 MB / 0.5989 GB, free: 2.871 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005452/0.05587, allocations: 0.5135 MB / 0.5994 GB, free: 2.352 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 6.322e-05/0.05594, allocations: 305.1 kB / 0.5997 GB, free: 2.051 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001403/0.05734, allocations: 1.153 MB / 0.6008 GB, free: 0.8945 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001524/0.05886, allocations: 1.376 MB / 0.6021 GB, free: 15.49 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003017/0.06188, allocations: 2.374 MB / 0.6044 GB, free: 13.08 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/0.06189, allocations: 4 kB / 0.6044 GB, free: 13.08 MB / 490.7 MB Notification: Performance of matching and sorting (n=351) (initialization): time 0.00597/0.06786, allocations: 4.302 MB / 0.6086 GB, free: 8.738 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.06788, allocations: 10.19 kB / 0.6087 GB, free: 8.73 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.06789, allocations: 3.938 kB / 0.6087 GB, free: 8.727 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005978/0.07387, allocations: 2.893 MB / 0.6115 GB, free: 5.828 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001064/0.07493, allocations: 491.3 kB / 0.612 GB, free: 5.348 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00327/0.0782, allocations: 2.549 MB / 0.6144 GB, free: 2.77 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001133/0.07934, allocations: 266.3 kB / 0.6147 GB, free: 2.508 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001205/0.07946, allocations: 91.97 kB / 0.6148 GB, free: 2.418 MB / 490.7 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 (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.0004324/0.07989, allocations: 305.4 kB / 0.6151 GB, free: 2.109 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001906/0.08008, allocations: 182.8 kB / 0.6153 GB, free: 1.93 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.201/0.2811, allocations: 3.573 MB / 0.6187 GB, free: 69.41 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.757e-05/0.2811, allocations: 17.97 kB / 0.6188 GB, free: 69.41 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.2811, allocations: 0.875 kB / 0.6188 GB, free: 69.41 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.171e-05/0.2811, allocations: 6.656 kB / 0.6188 GB, free: 69.41 MB / 490.7 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.008299/0.2894, allocations: 4.87 MB / 0.6235 GB, free: 68.31 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.2894, allocations: 1.594 kB / 0.6235 GB, free: 68.31 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005601/0.29, allocations: 167.6 kB / 0.6237 GB, free: 68.29 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003113/0.2931, allocations: 1.531 MB / 0.6252 GB, free: 68.07 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.385e-05/0.2932, allocations: 35.83 kB / 0.6252 GB, free: 68.05 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01045/0.3036, allocations: 7.729 MB / 0.6328 GB, free: 64.43 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3036, allocations: 0 / 0.6328 GB, free: 64.43 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0074/0.311, allocations: 4.612 MB / 0.6373 GB, free: 62.96 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000547/0.3116, allocations: 232.8 kB / 0.6375 GB, free: 62.82 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001568/0.3117, allocations: 22.34 kB / 0.6375 GB, free: 62.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000723/0.3125, allocations: 87.22 kB / 0.6376 GB, free: 62.78 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003615/0.3128, allocations: 205.3 kB / 0.6378 GB, free: 62.74 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.898e-05/0.3129, allocations: 36.16 kB / 0.6378 GB, free: 62.73 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0009819/0.3139, allocations: 1.093 MB / 0.6389 GB, free: 62.14 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.3139, allocations: 0 / 0.6389 GB, free: 62.14 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0009648/0.3148, allocations: 0.5979 MB / 0.6395 GB, free: 62.06 MB / 490.7 MB 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.006601/0.3214, allocations: 5.231 MB / 0.6446 GB, free: 58.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004324/0.3258, allocations: 2.806 MB / 0.6473 GB, free: 56.1 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.3258, allocations: 0 / 0.6473 GB, free: 56.1 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002279/0.328, allocations: 1.5 MB / 0.6488 GB, free: 54.59 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008317/0.3289, allocations: 130.7 kB / 0.6489 GB, free: 54.46 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01892/0.3478, allocations: 18.34 MB / 0.6668 GB, free: 35.91 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/0.3481, allocations: 0.658 MB / 0.6675 GB, free: 35.21 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003779/0.3485, allocations: 159.3 kB / 0.6676 GB, free: 35.05 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005342/0.349, allocations: 0.637 MB / 0.6682 GB, free: 34.41 MB / 490.7 MB Notification: Performance of SimCode: time 1.313e-06/0.349, allocations: 0 / 0.6682 GB, free: 34.41 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06136/0.4104, allocations: 47.05 MB / 0.7142 GB, free: 3.648 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.883/9.294, allocations: 0 / 0.7142 GB, free: 3.648 MB / 0.4948 GB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system.fmu > OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.672567322850227] Failed to read output from testmodel.py, exit status != 0: 9.403743585571647 9.411319655 9.392179181 Calling exit ...