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.001449/0.001449, allocations: 113 kB / 18.94 MB, free: 2.934 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.515/1.515, allocations: 230.6 MB / 252.6 MB, free: 8.324 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.001645/0.001645, allocations: 215 kB / 309.2 MB, free: 3.211 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.4658/0.4658, allocations: 79.74 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.002483/0.002483, allocations: 91.88 kB / 0.5929 GB, free: 14 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1557/0.1581, allocations: 73.3 MB / 0.6645 GB, free: 4.598 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.01073/0.1689, allocations: 8.291 MB / 0.6726 GB, free: 12.27 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.006423/0.1753, allocations: 2.659 MB / 0.6752 GB, free: 9.605 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00147/0.1768, allocations: 12 kB / 0.6752 GB, free: 9.594 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001132/0.1779, allocations: 309.4 kB / 0.6755 GB, free: 9.289 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005045/0.183, allocations: 1.561 MB / 0.677 GB, free: 7.734 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001657/0.1846, allocations: 0.5972 MB / 0.6776 GB, free: 7.141 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.004299/0.1889, allocations: 2.574 MB / 0.6801 GB, free: 4.559 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006303/0.1895, allocations: 213.3 kB / 0.6803 GB, free: 4.328 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002018/0.1916, allocations: 1.028 MB / 0.6813 GB, free: 3.297 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002392/0.1939, allocations: 1.378 MB / 0.6827 GB, free: 1.914 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007767/0.1947, allocations: 208 kB / 0.6829 GB, free: 1.711 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001333/0.1961, allocations: 391.8 kB / 0.6832 GB, free: 1.328 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000923/0.197, allocations: 0.5254 MB / 0.6838 GB, free: 0.8008 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001756/0.1987, allocations: 0.983 MB / 0.6847 GB, free: 15.81 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003822/0.2026, allocations: 2.377 MB / 0.687 GB, free: 13.43 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2026, allocations: 3.938 kB / 0.687 GB, free: 13.42 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2026, allocations: 0 / 0.687 GB, free: 13.42 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0001117/0.2027, allocations: 0 / 0.687 GB, free: 13.42 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.02188/0.2246, allocations: 4.934 MB / 0.6919 GB, free: 8.441 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.585e-05/0.2246, allocations: 19.92 kB / 0.6919 GB, free: 8.422 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000431/0.225, allocations: 135.4 kB / 0.692 GB, free: 8.281 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003809/0.2289, allocations: 0.5809 MB / 0.6926 GB, free: 7.699 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002895/0.2317, allocations: 1.167 MB / 0.6937 GB, free: 6.496 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004021/0.2321, allocations: 320.2 kB / 0.694 GB, free: 6.137 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003984/0.2325, allocations: 112 kB / 0.6941 GB, free: 6.027 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002727/0.2353, allocations: 1.096 MB / 0.6952 GB, free: 4.922 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.742e-05/0.2353, allocations: 0 / 0.6952 GB, free: 4.922 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001365/0.2354, allocations: 28 kB / 0.6952 GB, free: 4.895 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.913e-05/0.2355, allocations: 23.94 kB / 0.6952 GB, free: 4.871 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002662/0.2381, allocations: 1.179 MB / 0.6964 GB, free: 3.691 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.3045/0.5426, allocations: 4.569 MB / 0.7009 GB, free: 32.8 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00304/0.5457, allocations: 1.296 MB / 0.7021 GB, free: 32.77 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00151/0.5472, allocations: 0.7168 MB / 0.7028 GB, free: 32.76 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001357/0.5473, allocations: 25.39 kB / 0.7028 GB, free: 32.76 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.275e-05/0.5474, allocations: 53.47 kB / 0.7029 GB, free: 32.72 MB / 494.1 MB Notification: Performance of pre-optimization done (n=130): time 3.877e-06/0.5474, allocations: 0 / 0.7029 GB, free: 32.72 MB / 494.1 MB Notification: Performance of matching and sorting (n=130): time 0.02745/0.5748, allocations: 6.583 MB / 0.7093 GB, free: 32.54 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.595e-05/0.5749, allocations: 65.94 kB / 0.7094 GB, free: 32.48 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003089/0.5779, allocations: 1.664 MB / 0.711 GB, free: 32.12 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004429/0.5784, allocations: 56.17 kB / 0.7111 GB, free: 32.07 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004445/0.5788, allocations: 0.5573 MB / 0.7116 GB, free: 31.69 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005838/0.5794, allocations: 0.5142 MB / 0.7121 GB, free: 31.36 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001/0.5804, allocations: 0.5146 MB / 0.7126 GB, free: 31.12 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.107e-05/0.5805, allocations: 302.6 kB / 0.7129 GB, free: 30.83 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002468/0.5829, allocations: 1.145 MB / 0.714 GB, free: 30.37 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002822/0.5858, allocations: 1.361 MB / 0.7154 GB, free: 29.79 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004606/0.5904, allocations: 2.342 MB / 0.7176 GB, free: 28.64 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.127e-05/0.5904, allocations: 1.281 kB / 0.7176 GB, free: 28.64 MB / 494.1 MB Notification: Performance of matching and sorting (n=348) (initialization): time 0.009402/0.5998, allocations: 4.047 MB / 0.7216 GB, free: 27.11 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.148e-05/0.5998, allocations: 4.969 kB / 0.7216 GB, free: 27.11 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/0.5998, allocations: 1.406 kB / 0.7216 GB, free: 27.11 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0108/0.6106, allocations: 2.827 MB / 0.7244 GB, free: 26.73 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002554/0.6132, allocations: 480.7 kB / 0.7248 GB, free: 26.69 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00544/0.6186, allocations: 2.543 MB / 0.7273 GB, free: 25.15 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00274/0.6214, allocations: 253.8 kB / 0.7275 GB, free: 25.02 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002296/0.6216, allocations: 87.12 kB / 0.7276 GB, free: 25 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.0005892/0.6222, allocations: 308.3 kB / 0.7279 GB, free: 24.75 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000331/0.6225, allocations: 181.2 kB / 0.7281 GB, free: 24.64 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00991/0.6324, allocations: 3.521 MB / 0.7315 GB, free: 22.79 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.083e-05/0.6324, allocations: 15.69 kB / 0.7315 GB, free: 22.79 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.216e-06/0.6325, allocations: 0 / 0.7315 GB, free: 22.79 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.592e-05/0.6325, allocations: 3.984 kB / 0.7316 GB, free: 22.78 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.01237/0.6449, allocations: 5.588 MB / 0.737 GB, free: 19.21 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.917e-05/0.6449, allocations: 10.38 kB / 0.737 GB, free: 19.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001118/0.646, allocations: 162.1 kB / 0.7372 GB, free: 19.17 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004901/0.6509, allocations: 1.486 MB / 0.7386 GB, free: 18.01 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002626/0.6512, allocations: 24 kB / 0.7386 GB, free: 17.98 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01633/0.6675, allocations: 7.755 MB / 0.7462 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.6675, allocations: 0 / 0.7462 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01179/0.6793, allocations: 4.539 MB / 0.7507 GB, free: 5.578 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007509/0.68, allocations: 242.2 kB / 0.7509 GB, free: 5.363 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003215/0.6803, allocations: 20 kB / 0.7509 GB, free: 5.344 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0015/0.6818, allocations: 83.2 kB / 0.751 GB, free: 5.266 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005587/0.6824, allocations: 205.3 kB / 0.7512 GB, free: 5.066 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-05/0.6825, allocations: 43.92 kB / 0.7512 GB, free: 5.023 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001318/0.6838, allocations: 1.09 MB / 0.7523 GB, free: 3.938 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6838, allocations: 0 / 0.7523 GB, free: 3.938 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00168/0.6855, allocations: 0.5888 MB / 0.7529 GB, free: 3.359 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.01291/0.6984, allocations: 5.133 MB / 0.7579 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.009257/0.7077, allocations: 2.756 MB / 0.7606 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/0.7077, allocations: 0 / 0.7606 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004984/0.7126, allocations: 1.443 MB / 0.762 GB, free: 9.992 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002187/0.7148, allocations: 131.9 kB / 0.7621 GB, free: 9.867 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04501/0.7598, allocations: 18.86 MB / 0.7805 GB, free: 6.812 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001282/0.7611, allocations: 1.23 MB / 0.7817 GB, free: 5.551 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001068/0.7622, allocations: 167.2 kB / 0.7819 GB, free: 5.383 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001443/0.7636, allocations: 0.6359 MB / 0.7825 GB, free: 4.746 MB / 0.5137 GB Notification: Performance of SimCode: time 1.683e-06/0.7636, allocations: 4 kB / 0.7825 GB, free: 4.742 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1153/0.8789, allocations: 46.93 MB / 0.8283 GB, free: 5.965 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.96/17.84, allocations: 14.92 kB / 0.8284 GB, free: 5.953 MB / 0.5606 GB " [Timeout remaining time 642] (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: 21.63466539303772] Failed to read output from testmodel.py, exit status != 0: 17.987407049862668 18.01820052 17.809949185 Calling exit ...