Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.001311/0.001311, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.469/1.469, allocations: 230.6 MB / 253.4 MB, free: 14.49 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.001564/0.001564, allocations: 212.2 kB / 310 MB, free: 3.098 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.6075/0.6075, allocations: 101.3 MB / 467.8 MB, free: 30.58 MB / 350.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/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_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_dev_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.002371/0.002371, allocations: 84.89 kB / 0.6251 GB, free: 33.31 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.134, allocations: 78.61 MB / 0.7019 GB, free: 1.09 MB / 478.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.00984/0.1439, allocations: 8.353 MB / 0.7101 GB, free: 8.691 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006347/0.1502, allocations: 2.655 MB / 0.7127 GB, free: 6.031 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001264/0.1515, allocations: 8 kB / 0.7127 GB, free: 6.023 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008685/0.1523, allocations: 305.4 kB / 0.713 GB, free: 5.723 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003334/0.1557, allocations: 1.208 MB / 0.7141 GB, free: 4.512 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001598/0.1573, allocations: 0.6965 MB / 0.7148 GB, free: 3.816 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003093/0.1604, allocations: 2.398 MB / 0.7172 GB, free: 1.406 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004439/0.1608, allocations: 221.2 kB / 0.7174 GB, free: 1.168 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001322/0.1621, allocations: 0.9846 MB / 0.7183 GB, free: 184 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001648/0.1638, allocations: 1.338 MB / 0.7196 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003416/0.1641, allocations: 204 kB / 0.7198 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007519/0.1649, allocations: 391.8 kB / 0.7202 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004262/0.1653, allocations: 0.502 MB / 0.7207 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001004/0.1663, allocations: 0.9751 MB / 0.7216 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003002/0.1693, allocations: 2.358 MB / 0.724 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.1693, allocations: 0 / 0.724 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.954e-06/0.1693, allocations: 4 kB / 0.724 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.982e-05/0.1693, allocations: 0 / 0.724 GB, free: 10.4 MB / 0.4981 GB 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.01557/0.1849, allocations: 4.091 MB / 0.728 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.185, allocations: 12.03 kB / 0.728 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.424e-05/0.185, allocations: 22.19 kB / 0.728 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001882/0.1852, allocations: 139.4 kB / 0.7281 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003681/0.1889, allocations: 0.5845 MB / 0.7287 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002557/0.1914, allocations: 1.163 MB / 0.7298 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004147/0.1918, allocations: 324.2 kB / 0.7301 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002561/0.1921, allocations: 116 kB / 0.7302 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002392/0.1945, allocations: 1.112 MB / 0.7313 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.149e-05/0.1945, allocations: 0 / 0.7313 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001102/0.1946, allocations: 40 kB / 0.7314 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.355e-05/0.1946, allocations: 23.94 kB / 0.7314 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002666/0.1973, allocations: 1.199 MB / 0.7326 GB, free: 1.441 MB / 0.4981 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 preOpt removeSimpleEquations (simulation): time 0.008557/0.2059, allocations: 4.596 MB / 0.737 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003243/0.2091, allocations: 1.328 MB / 0.7383 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001617/0.2107, allocations: 0.7347 MB / 0.7391 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001208/0.2108, allocations: 29.28 kB / 0.7391 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.667e-05/0.2109, allocations: 47.81 kB / 0.7391 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=133): time 3.346e-06/0.2109, allocations: 4 kB / 0.7391 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of matching and sorting (n=133): time 0.02998/0.2409, allocations: 6.879 MB / 0.7459 GB, free: 3.57 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.669e-05/0.2409, allocations: 68.66 kB / 0.7459 GB, free: 3.492 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002838/0.2437, allocations: 1.663 MB / 0.7475 GB, free: 1.82 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004218/0.2442, allocations: 61.64 kB / 0.7476 GB, free: 1.754 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005865/0.2448, allocations: 0.5544 MB / 0.7481 GB, free: 1.191 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007421/0.2455, allocations: 0.5269 MB / 0.7487 GB, free: 0.6602 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001044/0.2465, allocations: 0.5252 MB / 0.7492 GB, free: 132 kB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.2467, allocations: 301.1 kB / 0.7495 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002574/0.2493, allocations: 1.165 MB / 0.7506 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002868/0.2521, allocations: 1.369 MB / 0.7519 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005046/0.2572, allocations: 2.366 MB / 0.7542 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.245e-06/0.2572, allocations: 0 / 0.7542 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of matching and sorting (n=351) (initialization): time 0.01183/0.269, allocations: 4.322 MB / 0.7585 GB, free: 6.508 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.696e-05/0.269, allocations: 4 kB / 0.7585 GB, free: 6.504 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.636e-05/0.269, allocations: 4 kB / 0.7585 GB, free: 6.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01199/0.281, allocations: 2.893 MB / 0.7613 GB, free: 3.602 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002494/0.2835, allocations: 479.3 kB / 0.7618 GB, free: 3.133 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006407/0.2899, allocations: 2.569 MB / 0.7643 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002887/0.2928, allocations: 254.4 kB / 0.7645 GB, free: 288 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000359/0.2932, allocations: 91.97 kB / 0.7646 GB, free: 196 kB / 0.5294 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 (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.0007851/0.294, allocations: 313.3 kB / 0.7649 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004667/0.2944, allocations: 178.8 kB / 0.7651 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01206/0.3065, allocations: 3.581 MB / 0.7686 GB, free: 12.1 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.321e-05/0.3065, allocations: 12 kB / 0.7686 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/0.3065, allocations: 4 kB / 0.7686 GB, free: 12.08 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.355e-05/0.3066, allocations: 7.969 kB / 0.7686 GB, free: 12.07 MB / 0.545 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.01553/0.3221, allocations: 5.68 MB / 0.7741 GB, free: 6.238 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.428e-05/0.3221, allocations: 4 kB / 0.7741 GB, free: 6.234 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001131/0.3232, allocations: 163.8 kB / 0.7743 GB, free: 6.074 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00597/0.3292, allocations: 1.543 MB / 0.7758 GB, free: 4.523 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002552/0.3295, allocations: 27.98 kB / 0.7758 GB, free: 4.496 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02076/0.3502, allocations: 7.908 MB / 0.7835 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.3502, allocations: 0 / 0.7835 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01426/0.3645, allocations: 4.625 MB / 0.7881 GB, free: 7.82 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00084/0.3653, allocations: 230.5 kB / 0.7883 GB, free: 7.594 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000359/0.3657, allocations: 28 kB / 0.7883 GB, free: 7.566 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001517/0.3672, allocations: 83.91 kB / 0.7884 GB, free: 7.484 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000625/0.3678, allocations: 197.4 kB / 0.7886 GB, free: 7.285 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001007/0.3679, allocations: 39.98 kB / 0.7886 GB, free: 7.246 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001693/0.3696, allocations: 1.098 MB / 0.7897 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.3696, allocations: 0 / 0.7897 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001815/0.3714, allocations: 0.5934 MB / 0.7903 GB, free: 5.559 MB / 0.5606 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 (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.01441/0.3859, allocations: 5.232 MB / 0.7954 GB, free: 304 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008932/0.3948, allocations: 2.8 MB / 0.7981 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.3948, allocations: 0 / 0.7981 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.004938/0.3997, allocations: 1.504 MB / 0.7996 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001398/0.4011, allocations: 129.6 kB / 0.7997 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3439/0.745, allocations: 18.94 MB / 0.8182 GB, free: 99.91 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006669/0.7457, allocations: 1.241 MB / 0.8194 GB, free: 99.2 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008959/0.7466, allocations: 159.5 kB / 0.8196 GB, free: 99.18 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008649/0.7474, allocations: 0.6348 MB / 0.8202 GB, free: 98.69 MB / 0.5762 GB Notification: Performance of SimCode: time 1.623e-06/0.7474, allocations: 0 / 0.8202 GB, free: 98.69 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07858/0.826, allocations: 47.22 MB / 0.8663 GB, free: 65.38 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.45/17.27, allocations: 14.25 kB / 0.8663 GB, free: 65.37 MB / 0.5762 GB " [Timeout remaining time 643] (rm -f OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system.fmu > OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.18524924304802] Failed to read output from testmodel.py, exit status != 0: 17.470959139987826 17.487894513 17.315196638 Calling exit ...