Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08421/0.08421, allocations: 12.77 MB / 29.12 MB, free: 248 kB / 19.63 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 115.5 kB / 34.91 MB, free: 1.219 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.455/1.455, allocations: 207.6 MB / 248.2 MB, free: 10.21 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00166/0.00166, allocations: 184.5 kB / 303.1 MB, free: 5.57 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4319/0.4319, allocations: 79.72 MB / 437.6 MB, free: 3.961 MB / 302.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003969/0.003969, allocations: 137 kB / 0.5827 GB, free: 7.605 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1428, allocations: 72.01 MB / 0.6531 GB, free: 15.5 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system): time 0.00767/0.1505, allocations: 6.216 MB / 0.6591 GB, free: 9.238 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004259/0.1548, allocations: 2.188 MB / 0.6613 GB, free: 7.043 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000404/0.1552, allocations: 8 kB / 0.6613 GB, free: 7.035 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005282/0.1557, allocations: 234.1 kB / 0.6615 GB, free: 6.805 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002878/0.1586, allocations: 1.201 MB / 0.6627 GB, free: 5.609 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001032/0.1596, allocations: 483.2 kB / 0.6631 GB, free: 5.141 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002194/0.1618, allocations: 1.84 MB / 0.6649 GB, free: 3.297 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003157/0.1621, allocations: 143.3 kB / 0.6651 GB, free: 3.141 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008559/0.163, allocations: 0.7083 MB / 0.6658 GB, free: 2.43 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001151/0.1641, allocations: 0.9651 MB / 0.6667 GB, free: 1.461 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002249/0.1644, allocations: 148 kB / 0.6669 GB, free: 1.316 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005545/0.1649, allocations: 315.8 kB / 0.6672 GB, free: 1.008 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003544/0.1653, allocations: 378.6 kB / 0.6675 GB, free: 0.6367 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000675/0.1659, allocations: 0.6917 MB / 0.6682 GB, free: 15.94 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001993/0.1679, allocations: 1.724 MB / 0.6699 GB, free: 14.21 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1679, allocations: 0 / 0.6699 GB, free: 14.21 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1679, allocations: 0 / 0.6699 GB, free: 14.21 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.224e-05/0.168, allocations: 0 / 0.6699 GB, free: 14.21 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.01537/0.1833, allocations: 3.761 MB / 0.6735 GB, free: 10.39 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.1834, allocations: 15.92 kB / 0.6736 GB, free: 10.38 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001549/0.1835, allocations: 106.7 kB / 0.6737 GB, free: 10.27 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003031/0.1866, allocations: 0.5036 MB / 0.6742 GB, free: 9.762 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001472/0.188, allocations: 0.8955 MB / 0.675 GB, free: 8.812 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003143/0.1883, allocations: 230.2 kB / 0.6753 GB, free: 8.555 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001747/0.1885, allocations: 83.94 kB / 0.6753 GB, free: 8.473 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001979/0.1905, allocations: 0.8848 MB / 0.6762 GB, free: 7.582 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/0.1905, allocations: 3.938 kB / 0.6762 GB, free: 7.578 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.77e-05/0.1906, allocations: 28 kB / 0.6762 GB, free: 7.551 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.88e-05/0.1906, allocations: 16 kB / 0.6762 GB, free: 7.535 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002344/0.193, allocations: 0.985 MB / 0.6772 GB, free: 6.551 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.00513/0.1981, allocations: 2.939 MB / 0.6801 GB, free: 3.48 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002879/0.201, allocations: 1.023 MB / 0.6811 GB, free: 2.449 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001396/0.2024, allocations: 0.605 MB / 0.6817 GB, free: 1.84 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001006/0.2025, allocations: 12.98 kB / 0.6817 GB, free: 1.824 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.325e-05/0.2025, allocations: 47.56 kB / 0.6817 GB, free: 1.77 MB / 478.1 MB Notification: Performance of pre-optimization done (n=94): time 2.455e-06/0.2025, allocations: 0 / 0.6817 GB, free: 1.77 MB / 478.1 MB Notification: Performance of matching and sorting (n=94): time 0.02691/0.2294, allocations: 6.455 MB / 0.688 GB, free: 11.28 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.31e-05/0.2295, allocations: 64.39 kB / 0.6881 GB, free: 11.2 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001791/0.2313, allocations: 1.137 MB / 0.6892 GB, free: 10.05 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001649/0.2314, allocations: 53.64 kB / 0.6892 GB, free: 9.988 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003668/0.2318, allocations: 398.3 kB / 0.6896 GB, free: 9.594 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004121/0.2322, allocations: 384.8 kB / 0.69 GB, free: 9.215 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006642/0.2329, allocations: 363.4 kB / 0.6903 GB, free: 8.852 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.233, allocations: 309.1 kB / 0.6906 GB, free: 8.547 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002004/0.235, allocations: 0.9058 MB / 0.6915 GB, free: 7.641 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002028/0.2371, allocations: 0.939 MB / 0.6924 GB, free: 6.703 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00386/0.2409, allocations: 1.809 MB / 0.6942 GB, free: 4.895 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/0.2409, allocations: 0 / 0.6942 GB, free: 4.895 MB / 494.1 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.007138/0.2481, allocations: 3.013 MB / 0.6971 GB, free: 1.867 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.591e-05/0.2481, allocations: 8 kB / 0.6972 GB, free: 1.859 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.2481, allocations: 0 / 0.6972 GB, free: 1.859 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.24/0.4881, allocations: 2.269 MB / 0.6994 GB, free: 41.76 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001729/0.4899, allocations: 318.2 kB / 0.6997 GB, free: 41.76 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005226/0.4951, allocations: 2.268 MB / 0.7019 GB, free: 41.23 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002026/0.4971, allocations: 202.2 kB / 0.7021 GB, free: 41.23 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001506/0.4973, allocations: 61.28 kB / 0.7021 GB, free: 41.23 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (189): * Single equations (assignments): 188 * 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 {(24,29)} Notification: Performance of prepare postOptimizeDAE: time 0.0004164/0.4977, allocations: 252.3 kB / 0.7024 GB, free: 41.11 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002235/0.4979, allocations: 121.5 kB / 0.7025 GB, free: 41.11 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01077/0.5087, allocations: 3.273 MB / 0.7057 GB, free: 40.79 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-05/0.5087, allocations: 10.55 kB / 0.7057 GB, free: 40.79 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.5087, allocations: 0 / 0.7057 GB, free: 40.79 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.217e-05/0.5087, allocations: 4.547 kB / 0.7057 GB, free: 40.79 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001569/0.5103, allocations: 1.214 MB / 0.7069 GB, free: 40.26 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.5103, allocations: 1.312 kB / 0.7069 GB, free: 40.26 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007158/0.511, allocations: 116.8 kB / 0.707 GB, free: 40.24 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005269/0.5163, allocations: 1.441 MB / 0.7084 GB, free: 40.03 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.413e-05/0.5164, allocations: 19.75 kB / 0.7084 GB, free: 40.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01815/0.5345, allocations: 7.829 MB / 0.7161 GB, free: 36.11 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.5345, allocations: 8.969 kB / 0.7161 GB, free: 36.11 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01162/0.5461, allocations: 4.104 MB / 0.7201 GB, free: 34.86 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004223/0.5465, allocations: 234.3 kB / 0.7203 GB, free: 34.68 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001804/0.5467, allocations: 25.16 kB / 0.7203 GB, free: 34.66 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001147/0.5479, allocations: 87.39 kB / 0.7204 GB, free: 34.64 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000477/0.5484, allocations: 174.7 kB / 0.7206 GB, free: 34.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.767e-05/0.5484, allocations: 21.22 kB / 0.7206 GB, free: 34.59 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000968/0.5494, allocations: 0.7614 MB / 0.7214 GB, free: 34.26 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5494, allocations: 0 / 0.7214 GB, free: 34.26 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0012/0.5506, allocations: 440.4 kB / 0.7218 GB, free: 34.2 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,gENROE1.w,gENROE1.delta,gENROE1.Epd,gENROE1.Epq,gENROE1.PSIkd,gENROE1.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 (62): * Single equations (assignments): 61 * 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 {(14,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.011/0.5616, allocations: 4.586 MB / 0.7263 GB, free: 32.36 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005947/0.5675, allocations: 2.177 MB / 0.7284 GB, free: 31.4 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/0.5675, allocations: 0 / 0.7284 GB, free: 31.4 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003504/0.571, allocations: 1.249 MB / 0.7296 GB, free: 30.73 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000714/0.5718, allocations: 95.95 kB / 0.7297 GB, free: 30.65 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01923/0.591, allocations: 13.31 MB / 0.7427 GB, free: 18.9 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003402/0.5913, allocations: 1.053 MB / 0.7437 GB, free: 17.82 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003769/0.5917, allocations: 111.6 kB / 0.7438 GB, free: 17.71 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004938/0.5922, allocations: 427.2 kB / 0.7442 GB, free: 17.29 MB / 494.1 MB Notification: Performance of SimCode: time 1.152e-06/0.5922, allocations: 0 / 0.7442 GB, free: 17.29 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09338/0.6856, allocations: 34.11 MB / 0.7775 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.4/15.08, allocations: 13.84 kB / 0.7776 GB, free: 15.32 MB / 0.5137 GB " [Timeout remaining time 645] (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.59291053097695] Failed to read output from testmodel.py, exit status != 0: 15.195521894842386 15.219029968 15.046521268 Calling exit ...