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.001335/0.001335, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.459/1.459, allocations: 230.6 MB / 253.5 MB, free: 14.3 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: 210.8 kB / 310 MB, free: 3.129 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.4895/0.4895, allocations: 79.74 MB / 446.2 MB, free: 40.5 MB / 350.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system",fmuType="cs",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.00246/0.00246, allocations: 84.75 kB / 0.5936 GB, free: 38.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1297, allocations: 73.29 MB / 0.6652 GB, free: 440 kB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.008894/0.1386, allocations: 7.128 MB / 0.6721 GB, free: 10.71 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005757/0.1443, allocations: 2.515 MB / 0.6746 GB, free: 8.195 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001278/0.1456, allocations: 16 kB / 0.6746 GB, free: 8.18 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008825/0.1465, allocations: 301.3 kB / 0.6749 GB, free: 7.883 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004562/0.1511, allocations: 1.533 MB / 0.6764 GB, free: 6.359 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001495/0.1526, allocations: 0.5976 MB / 0.677 GB, free: 5.766 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003745/0.1563, allocations: 2.558 MB / 0.6795 GB, free: 3.199 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004877/0.1568, allocations: 217.2 kB / 0.6797 GB, free: 2.965 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001572/0.1584, allocations: 1.035 MB / 0.6807 GB, free: 1.926 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001724/0.1601, allocations: 1.381 MB / 0.682 GB, free: 0.5391 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003514/0.1604, allocations: 204 kB / 0.6822 GB, free: 348 kB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008124/0.1613, allocations: 379.9 kB / 0.6826 GB, free: 15.96 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004716/0.1617, allocations: 0.5254 MB / 0.6831 GB, free: 15.44 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008526/0.1626, allocations: 0.8317 MB / 0.6839 GB, free: 14.61 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002786/0.1654, allocations: 2.397 MB / 0.6863 GB, free: 12.2 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.1654, allocations: 0 / 0.6863 GB, free: 12.2 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1654, allocations: 3.938 kB / 0.6863 GB, free: 12.2 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.726e-05/0.1654, allocations: 4 kB / 0.6863 GB, free: 12.19 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.02056/0.186, allocations: 4.93 MB / 0.6911 GB, free: 7.215 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.307e-05/0.186, allocations: 12.02 kB / 0.6911 GB, free: 7.203 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.655e-05/0.1861, allocations: 22.19 kB / 0.6911 GB, free: 7.184 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001885/0.1863, allocations: 135.4 kB / 0.6912 GB, free: 7.043 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003549/0.1898, allocations: 0.5807 MB / 0.6918 GB, free: 6.461 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002211/0.192, allocations: 1.159 MB / 0.6929 GB, free: 5.266 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003491/0.1924, allocations: 324.2 kB / 0.6933 GB, free: 4.898 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002569/0.1926, allocations: 112 kB / 0.6934 GB, free: 4.789 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002316/0.1949, allocations: 1.093 MB / 0.6944 GB, free: 3.688 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.095e-05/0.195, allocations: 0 / 0.6944 GB, free: 3.688 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001142/0.1951, allocations: 36 kB / 0.6945 GB, free: 3.652 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.23e-05/0.1951, allocations: 23.94 kB / 0.6945 GB, free: 3.629 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002491/0.1976, allocations: 1.175 MB / 0.6956 GB, free: 2.457 MB / 478.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.007748/0.2053, allocations: 3.332 MB / 0.6989 GB, free: 15.07 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003175/0.2085, allocations: 1.3 MB / 0.7002 GB, free: 13.77 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001534/0.21, allocations: 0.7163 MB / 0.7009 GB, free: 13.05 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001285/0.2102, allocations: 21.31 kB / 0.7009 GB, free: 13.03 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.293e-05/0.2102, allocations: 51.81 kB / 0.7009 GB, free: 12.97 MB / 494.1 MB Notification: Performance of pre-optimization done (n=130): time 4.258e-06/0.2102, allocations: 0 / 0.7009 GB, free: 12.97 MB / 494.1 MB Notification: Performance of matching and sorting (n=130): time 0.02806/0.2383, allocations: 6.583 MB / 0.7074 GB, free: 6.367 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.345e-05/0.2383, allocations: 64.72 kB / 0.7074 GB, free: 6.293 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00355/0.2419, allocations: 1.659 MB / 0.709 GB, free: 4.625 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004037/0.2423, allocations: 57.7 kB / 0.7091 GB, free: 4.562 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007317/0.243, allocations: 0.5543 MB / 0.7096 GB, free: 4 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008589/0.2439, allocations: 0.523 MB / 0.7101 GB, free: 3.473 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001898/0.2458, allocations: 0.5173 MB / 0.7106 GB, free: 2.949 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.2459, allocations: 301.1 kB / 0.7109 GB, free: 2.652 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002746/0.2487, allocations: 1.145 MB / 0.7121 GB, free: 1.504 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003013/0.2517, allocations: 1.36 MB / 0.7134 GB, free: 120 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005586/0.2573, allocations: 2.342 MB / 0.7157 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.559e-05/0.2573, allocations: 0 / 0.7157 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of matching and sorting (n=348) (initialization): time 0.01125/0.2685, allocations: 4.044 MB / 0.7196 GB, free: 9.652 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.665e-05/0.2686, allocations: 5.406 kB / 0.7196 GB, free: 9.648 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.567e-05/0.2686, allocations: 4 kB / 0.7196 GB, free: 9.645 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01164/0.2802, allocations: 2.815 MB / 0.7224 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002625/0.2828, allocations: 483.3 kB / 0.7228 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0063/0.2891, allocations: 2.53 MB / 0.7253 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003081/0.2922, allocations: 250.4 kB / 0.7255 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004357/0.2927, allocations: 99.84 kB / 0.7256 GB, free: 3.453 MB / 0.4981 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 (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.0009801/0.2936, allocations: 309.3 kB / 0.7259 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006107/0.2943, allocations: 178.8 kB / 0.7261 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01145/0.3057, allocations: 3.519 MB / 0.7295 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.591e-05/0.3057, allocations: 12 kB / 0.7296 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.3057, allocations: 0 / 0.7296 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.103e-05/0.3057, allocations: 7.969 kB / 0.7296 GB, free: 15.41 MB / 0.5137 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.01401/0.3198, allocations: 4.78 MB / 0.7342 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.09e-05/0.3198, allocations: 0 / 0.7342 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00109/0.3209, allocations: 167.7 kB / 0.7344 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005607/0.3265, allocations: 1.488 MB / 0.7358 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001836/0.3266, allocations: 31.98 kB / 0.7359 GB, free: 8.879 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02041/0.3471, allocations: 7.553 MB / 0.7432 GB, free: 1.203 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/0.3471, allocations: 3.938 kB / 0.7433 GB, free: 1.199 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01398/0.361, allocations: 4.524 MB / 0.7477 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007437/0.3618, allocations: 238.5 kB / 0.7479 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005357/0.3623, allocations: 24 kB / 0.7479 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001803/0.3641, allocations: 79.92 kB / 0.748 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006843/0.3648, allocations: 197.4 kB / 0.7482 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001485/0.365, allocations: 35.98 kB / 0.7482 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002136/0.3671, allocations: 1.098 MB / 0.7493 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3671, allocations: 4 kB / 0.7493 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002248/0.3693, allocations: 0.5895 MB / 0.7499 GB, free: 10.39 MB / 0.5294 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 (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.01371/0.383, allocations: 5.15 MB / 0.7549 GB, free: 5.219 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008923/0.392, allocations: 2.756 MB / 0.7576 GB, free: 2.453 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.392, allocations: 0 / 0.7576 GB, free: 2.453 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004695/0.3967, allocations: 1.454 MB / 0.759 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001836/0.3985, allocations: 131.5 kB / 0.7591 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04209/0.4406, allocations: 18.84 MB / 0.7775 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008188/0.4414, allocations: 0.6539 MB / 0.7782 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000804/0.4422, allocations: 159.2 kB / 0.7783 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001228/0.4434, allocations: 0.6359 MB / 0.7789 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of SimCode: time 1.202e-06/0.4434, allocations: 0 / 0.7789 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3637/0.8072, allocations: 45.69 MB / 0.8236 GB, free: 130.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.84/17.65, allocations: 9.719 kB / 0.8236 GB, free: 130.2 MB / 0.5762 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.453735326998867] Failed to read output from testmodel.py, exit status != 0: 17.849205962964334 17.869172864 17.699971044 Calling exit ...