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.002086/0.002086, allocations: 108 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.559/1.559, allocations: 230.6 MB / 249.8 MB, free: 9.203 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.001681/0.001681, allocations: 218.2 kB / 306 MB, free: 4.285 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.4644/0.4644, allocations: 79.72 MB / 441.8 MB, free: 116 kB / 302.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.002405/0.002405, allocations: 83.88 kB / 0.5878 GB, free: 1.559 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1597, allocations: 73.25 MB / 0.6593 GB, free: 8.211 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.009514/0.1693, allocations: 8.266 MB / 0.6674 GB, free: 15.9 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.005799/0.1751, allocations: 2.647 MB / 0.67 GB, free: 13.25 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001437/0.1765, allocations: 12 kB / 0.67 GB, free: 13.23 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009594/0.1775, allocations: 309.3 kB / 0.6703 GB, free: 12.93 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004571/0.182, allocations: 1.557 MB / 0.6718 GB, free: 11.38 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001503/0.1835, allocations: 0.6105 MB / 0.6724 GB, free: 10.77 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003809/0.1873, allocations: 2.558 MB / 0.6749 GB, free: 8.207 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000565/0.1879, allocations: 220.8 kB / 0.6751 GB, free: 7.965 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001799/0.1897, allocations: 1.031 MB / 0.6761 GB, free: 6.93 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00229/0.192, allocations: 1.378 MB / 0.6775 GB, free: 5.547 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007653/0.1928, allocations: 204 kB / 0.6777 GB, free: 5.348 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001278/0.194, allocations: 395.8 kB / 0.678 GB, free: 4.961 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008652/0.1949, allocations: 0.5176 MB / 0.6786 GB, free: 4.441 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001737/0.1966, allocations: 0.9907 MB / 0.6795 GB, free: 3.445 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004134/0.2008, allocations: 2.381 MB / 0.6818 GB, free: 1.055 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.2008, allocations: 0 / 0.6818 GB, free: 1.055 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.2008, allocations: 0 / 0.6818 GB, free: 1.055 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001136/0.2009, allocations: 0 / 0.6818 GB, free: 1.055 MB / 478.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.02237/0.2233, allocations: 5.01 MB / 0.6867 GB, free: 11.98 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/0.2233, allocations: 12.03 kB / 0.6868 GB, free: 11.97 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001996/0.2235, allocations: 135.4 kB / 0.6869 GB, free: 11.83 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003662/0.2272, allocations: 0.5848 MB / 0.6875 GB, free: 11.24 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002299/0.2295, allocations: 1.229 MB / 0.6887 GB, free: 9.965 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003264/0.2298, allocations: 264.8 kB / 0.6889 GB, free: 9.672 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002461/0.23, allocations: 116 kB / 0.689 GB, free: 9.559 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002407/0.2325, allocations: 1.096 MB / 0.6901 GB, free: 8.453 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/0.2325, allocations: 0 / 0.6901 GB, free: 8.453 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001113/0.2326, allocations: 32 kB / 0.6901 GB, free: 8.422 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.122e-05/0.2326, allocations: 23.94 kB / 0.6901 GB, free: 8.398 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002632/0.2352, allocations: 1.175 MB / 0.6913 GB, free: 7.223 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.008889/0.2441, allocations: 4.615 MB / 0.6958 GB, free: 2.387 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003656/0.2478, allocations: 2.05 MB / 0.6978 GB, free: 148 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2829/0.5307, allocations: 0.7145 MB / 0.6985 GB, free: 36.06 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001517/0.5309, allocations: 26.95 kB / 0.6985 GB, free: 36.06 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.044e-05/0.5309, allocations: 45.88 kB / 0.6986 GB, free: 36.02 MB / 494.1 MB Notification: Performance of pre-optimization done (n=130): time 3.146e-06/0.5309, allocations: 0.5625 kB / 0.6986 GB, free: 36.02 MB / 494.1 MB Notification: Performance of matching and sorting (n=130): time 0.03/0.5609, allocations: 6.664 MB / 0.7051 GB, free: 35.77 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.139e-05/0.5609, allocations: 69.41 kB / 0.7051 GB, free: 35.7 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003049/0.564, allocations: 1.659 MB / 0.7068 GB, free: 35.54 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004228/0.5644, allocations: 58.39 kB / 0.7068 GB, free: 35.5 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004551/0.5649, allocations: 0.555 MB / 0.7074 GB, free: 35.38 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005844/0.5655, allocations: 0.5167 MB / 0.7079 GB, free: 35.08 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009655/0.5664, allocations: 0.5161 MB / 0.7084 GB, free: 34.85 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.398e-05/0.5665, allocations: 305.1 kB / 0.7087 GB, free: 34.55 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002411/0.5689, allocations: 1.146 MB / 0.7098 GB, free: 34.09 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002854/0.5717, allocations: 1.361 MB / 0.7111 GB, free: 33.5 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004635/0.5764, allocations: 2.342 MB / 0.7134 GB, free: 32.35 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.071e-05/0.5764, allocations: 0.5 kB / 0.7134 GB, free: 32.35 MB / 494.1 MB Notification: Performance of matching and sorting (n=348) (initialization): time 0.01032/0.5867, allocations: 4.045 MB / 0.7173 GB, free: 30.79 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.076e-05/0.5867, allocations: 7.406 kB / 0.7173 GB, free: 30.79 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.584e-05/0.5867, allocations: 1.156 kB / 0.7173 GB, free: 30.79 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01131/0.5981, allocations: 2.824 MB / 0.7201 GB, free: 30.42 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002536/0.6006, allocations: 482.3 kB / 0.7206 GB, free: 30.38 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005576/0.6062, allocations: 2.545 MB / 0.723 GB, free: 29.09 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003021/0.6092, allocations: 243.6 kB / 0.7233 GB, free: 28.94 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003499/0.6095, allocations: 91.03 kB / 0.7234 GB, free: 28.92 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.00066/0.6102, allocations: 306.8 kB / 0.7237 GB, free: 28.67 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004138/0.6106, allocations: 177.1 kB / 0.7238 GB, free: 28.57 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01047/0.6211, allocations: 3.513 MB / 0.7273 GB, free: 26.73 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.597e-05/0.6211, allocations: 14.06 kB / 0.7273 GB, free: 26.73 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.6211, allocations: 3.938 kB / 0.7273 GB, free: 26.73 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-05/0.6212, allocations: 9.312 kB / 0.7273 GB, free: 26.72 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.013/0.6342, allocations: 5.627 MB / 0.7328 GB, free: 23.09 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.659e-05/0.6342, allocations: 2.25 kB / 0.7328 GB, free: 23.09 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001081/0.6352, allocations: 174.5 kB / 0.733 GB, free: 23.05 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005187/0.6404, allocations: 1.477 MB / 0.7344 GB, free: 21.6 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002522/0.6407, allocations: 28 kB / 0.7344 GB, free: 21.57 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01688/0.6576, allocations: 7.856 MB / 0.7421 GB, free: 13.57 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.6576, allocations: 0 / 0.7421 GB, free: 13.57 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01217/0.6697, allocations: 4.535 MB / 0.7465 GB, free: 9.02 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008031/0.6705, allocations: 311.6 kB / 0.7468 GB, free: 8.695 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003087/0.6708, allocations: 24.69 kB / 0.7468 GB, free: 8.672 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001498/0.6723, allocations: 79.86 kB / 0.7469 GB, free: 8.594 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005894/0.6729, allocations: 195.6 kB / 0.7471 GB, free: 8.406 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.293e-05/0.673, allocations: 35.98 kB / 0.7471 GB, free: 8.371 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001292/0.6743, allocations: 1.094 MB / 0.7482 GB, free: 7.281 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6743, allocations: 3.938 kB / 0.7482 GB, free: 7.277 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001581/0.6759, allocations: 0.6012 MB / 0.7488 GB, free: 6.676 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.01217/0.6881, allocations: 5.125 MB / 0.7538 GB, free: 1.52 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008547/0.6966, allocations: 2.755 MB / 0.7565 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/0.6966, allocations: 0 / 0.7565 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004981/0.7016, allocations: 1.458 MB / 0.7579 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001504/0.7031, allocations: 133.5 kB / 0.758 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04375/0.7469, allocations: 18.83 MB / 0.7764 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009622/0.7478, allocations: 1.234 MB / 0.7776 GB, free: 8.863 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0009882/0.7488, allocations: 159.2 kB / 0.7778 GB, free: 8.703 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001141/0.7499, allocations: 0.632 MB / 0.7784 GB, free: 8.07 MB / 0.5137 GB Notification: Performance of SimCode: time 1.453e-06/0.7499, allocations: 4 kB / 0.7784 GB, free: 8.066 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1071/0.8571, allocations: 45.69 MB / 0.823 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.72/16.57, allocations: 4 kB / 0.823 GB, free: 10.61 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.203821422008332] Failed to read output from testmodel.py, exit status != 0: 16.698023841003305 16.725132276 16.519665167 Calling exit ...