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.001387/0.001387, allocations: 106.4 kB / 18.94 MB, free: 2.938 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.441/1.441, allocations: 230.6 MB / 252.6 MB, free: 8.328 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.001575/0.001575, allocations: 212.5 kB / 309.2 MB, free: 3.184 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4657/0.4657, allocations: 79.75 MB / 445.4 MB, free: 14.86 MB / 318.1 MB " [Timeout remaining time 179] 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.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: 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.002452/0.002452, allocations: 87.81 kB / 0.5929 GB, free: 14.03 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1466, allocations: 73.3 MB / 0.6645 GB, free: 4.633 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.009811/0.1564, allocations: 8.288 MB / 0.6726 GB, free: 12.31 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.005977/0.1624, allocations: 2.659 MB / 0.6752 GB, free: 9.641 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001071/0.1635, allocations: 15.94 kB / 0.6752 GB, free: 9.625 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008303/0.1643, allocations: 305.4 kB / 0.6755 GB, free: 9.324 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004215/0.1685, allocations: 1.563 MB / 0.677 GB, free: 7.77 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001448/0.17, allocations: 0.5975 MB / 0.6776 GB, free: 7.176 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003503/0.1735, allocations: 2.574 MB / 0.6801 GB, free: 4.594 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004679/0.174, allocations: 217.3 kB / 0.6803 GB, free: 4.359 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001575/0.1755, allocations: 1.028 MB / 0.6813 GB, free: 3.328 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00205/0.1776, allocations: 1.378 MB / 0.6827 GB, free: 1.945 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004817/0.1781, allocations: 204 kB / 0.6829 GB, free: 1.746 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008937/0.179, allocations: 395.8 kB / 0.6832 GB, free: 1.359 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005068/0.1795, allocations: 0.5216 MB / 0.6838 GB, free: 0.8359 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001178/0.1806, allocations: 0.987 MB / 0.6847 GB, free: 15.84 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003075/0.1837, allocations: 2.385 MB / 0.687 GB, free: 13.45 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.1837, allocations: 0 / 0.687 GB, free: 13.45 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1837, allocations: 0 / 0.687 GB, free: 13.45 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.187e-05/0.1838, allocations: 0 / 0.687 GB, free: 13.45 MB / 494.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.02076/0.2045, allocations: 4.93 MB / 0.6919 GB, free: 8.469 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.2046, allocations: 11.98 kB / 0.6919 GB, free: 8.457 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001861/0.2048, allocations: 135.4 kB / 0.692 GB, free: 8.316 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003384/0.2082, allocations: 0.5848 MB / 0.6926 GB, free: 7.73 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002368/0.2105, allocations: 1.159 MB / 0.6937 GB, free: 6.535 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003693/0.2109, allocations: 328.2 kB / 0.694 GB, free: 6.168 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002387/0.2111, allocations: 112 kB / 0.6941 GB, free: 6.059 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002314/0.2135, allocations: 1.093 MB / 0.6952 GB, free: 4.957 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.093e-05/0.2135, allocations: 4 kB / 0.6952 GB, free: 4.953 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001014/0.2136, allocations: 32 kB / 0.6952 GB, free: 4.922 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.148e-05/0.2136, allocations: 23.94 kB / 0.6952 GB, free: 4.898 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002461/0.2161, allocations: 1.175 MB / 0.6964 GB, free: 3.723 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 preOpt removeSimpleEquations (simulation): time 0.2857/0.5018, allocations: 4.572 MB / 0.7009 GB, free: 32.82 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002916/0.5047, allocations: 1.299 MB / 0.7021 GB, free: 32.79 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001439/0.5061, allocations: 0.7204 MB / 0.7028 GB, free: 32.78 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001382/0.5062, allocations: 28.39 kB / 0.7029 GB, free: 32.78 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/0.5063, allocations: 44.55 kB / 0.7029 GB, free: 32.74 MB / 494.1 MB Notification: Performance of pre-optimization done (n=130): time 3.096e-06/0.5063, allocations: 0 / 0.7029 GB, free: 32.74 MB / 494.1 MB Notification: Performance of matching and sorting (n=130): time 0.02722/0.5335, allocations: 6.577 MB / 0.7093 GB, free: 32.56 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.122e-05/0.5336, allocations: 72.52 kB / 0.7094 GB, free: 32.5 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002824/0.5364, allocations: 1.66 MB / 0.711 GB, free: 32.15 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003344/0.5367, allocations: 56.23 kB / 0.7111 GB, free: 32.09 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004477/0.5372, allocations: 0.5548 MB / 0.7116 GB, free: 31.71 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004981/0.5377, allocations: 0.517 MB / 0.7121 GB, free: 31.39 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009007/0.5386, allocations: 0.5167 MB / 0.7126 GB, free: 31.15 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.661e-05/0.5386, allocations: 301.9 kB / 0.7129 GB, free: 30.86 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002336/0.5409, allocations: 1.144 MB / 0.714 GB, free: 30.4 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002757/0.5437, allocations: 1.36 MB / 0.7154 GB, free: 29.81 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004419/0.5481, allocations: 2.342 MB / 0.7176 GB, free: 28.67 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.067e-06/0.5481, allocations: 0.5625 kB / 0.7176 GB, free: 28.67 MB / 494.1 MB Notification: Performance of matching and sorting (n=348) (initialization): time 0.008923/0.557, allocations: 4.051 MB / 0.7216 GB, free: 27.12 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.457e-05/0.5571, allocations: 5.562 kB / 0.7216 GB, free: 27.12 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/0.5571, allocations: 2.688 kB / 0.7216 GB, free: 27.12 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0107/0.5678, allocations: 2.823 MB / 0.7244 GB, free: 26.75 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002373/0.5702, allocations: 482.2 kB / 0.7248 GB, free: 26.71 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00519/0.5753, allocations: 2.538 MB / 0.7273 GB, free: 25.18 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002833/0.5782, allocations: 256.1 kB / 0.7275 GB, free: 25.05 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000263/0.5784, allocations: 88.78 kB / 0.7276 GB, free: 25.03 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.0005869/0.579, allocations: 303.8 kB / 0.7279 GB, free: 24.78 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003236/0.5794, allocations: 177.5 kB / 0.7281 GB, free: 24.68 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009949/0.5893, allocations: 3.52 MB / 0.7315 GB, free: 22.82 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-05/0.5893, allocations: 15.84 kB / 0.7315 GB, free: 22.82 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.5893, allocations: 0 / 0.7315 GB, free: 22.82 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.399e-05/0.5894, allocations: 7.969 kB / 0.7315 GB, free: 22.81 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.01204/0.6014, allocations: 5.593 MB / 0.737 GB, free: 19.24 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.386e-05/0.6014, allocations: 4.5 kB / 0.737 GB, free: 19.24 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001/0.6024, allocations: 162.5 kB / 0.7372 GB, free: 19.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004691/0.6071, allocations: 1.486 MB / 0.7386 GB, free: 18.05 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000199/0.6073, allocations: 27.98 kB / 0.7386 GB, free: 18.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01576/0.6231, allocations: 7.755 MB / 0.7462 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.6231, allocations: 0 / 0.7462 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01141/0.6345, allocations: 4.542 MB / 0.7507 GB, free: 5.617 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007891/0.6353, allocations: 235.4 kB / 0.7509 GB, free: 5.406 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002888/0.6355, allocations: 31.98 kB / 0.7509 GB, free: 5.375 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001415/0.637, allocations: 71.94 kB / 0.751 GB, free: 5.305 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005172/0.6375, allocations: 201.4 kB / 0.7512 GB, free: 5.109 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.785e-05/0.6376, allocations: 35.94 kB / 0.7512 GB, free: 5.074 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00118/0.6387, allocations: 1.098 MB / 0.7523 GB, free: 3.984 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6387, allocations: 3.938 kB / 0.7523 GB, free: 3.98 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001486/0.6402, allocations: 0.5948 MB / 0.7529 GB, free: 3.398 MB / 494.1 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 (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.0119/0.6521, allocations: 5.138 MB / 0.7579 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.008369/0.6605, allocations: 2.75 MB / 0.7606 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.6605, allocations: 0 / 0.7606 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004428/0.6649, allocations: 1.448 MB / 0.762 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001343/0.6663, allocations: 125.6 kB / 0.7621 GB, free: 9.902 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03935/0.7056, allocations: 18.86 MB / 0.7805 GB, free: 6.848 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009223/0.7065, allocations: 1.238 MB / 0.7817 GB, free: 5.578 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0008569/0.7074, allocations: 151.2 kB / 0.7819 GB, free: 5.426 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001069/0.7085, allocations: 0.6354 MB / 0.7825 GB, free: 4.793 MB / 0.5137 GB Notification: Performance of SimCode: time 1.843e-06/0.7085, allocations: 3.938 kB / 0.7825 GB, free: 4.789 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1042/0.8127, allocations: 46.95 MB / 0.8283 GB, free: 6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.46/17.28, allocations: 6.516 kB / 0.8283 GB, free: 5.996 MB / 0.5606 GB " [Timeout remaining time 643] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.738281128997187] Failed to read output from testmodel.py, exit status != 0: 17.41946337400077 17.448817545 17.259822194 Calling exit ...