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/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07531/0.07531, allocations: 12.37 MB / 31.21 MB, free: 4.594 MB / 26.18 MB " [Timeout remaining time 180] 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.001262/0.001262, allocations: 108.1 kB / 37.24 MB, free: 4.336 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.383/1.383, allocations: 207.7 MB / 250.9 MB, free: 7.199 MB / 190.1 MB " [Timeout remaining time 179] 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.001609/0.001609, allocations: 224.3 kB / 306.1 MB, free: 292 kB / 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.3248/0.3248, allocations: 79.73 MB / 441 MB, free: 12.27 MB / 318.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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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/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.1.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.1.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.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.004406/0.004406, allocations: 149.1 kB / 0.5875 GB, free: 9.355 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.121, allocations: 71.97 MB / 0.6578 GB, free: 1.324 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system): time 0.2202/0.3412, allocations: 5.407 MB / 0.663 GB, free: 8.168 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003454/0.3446, allocations: 2.064 MB / 0.6651 GB, free: 7.438 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005807/0.3452, allocations: 13.03 kB / 0.6651 GB, free: 7.434 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004702/0.3457, allocations: 229.2 kB / 0.6653 GB, free: 7.324 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002549/0.3482, allocations: 1.185 MB / 0.6664 GB, free: 6.668 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009198/0.3492, allocations: 472.7 kB / 0.6669 GB, free: 6.457 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001768/0.3509, allocations: 1.841 MB / 0.6687 GB, free: 5.625 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002706/0.3512, allocations: 131.5 kB / 0.6688 GB, free: 5.555 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007981/0.352, allocations: 0.727 MB / 0.6695 GB, free: 5.223 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001083/0.3531, allocations: 0.8784 MB / 0.6704 GB, free: 4.879 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002631/0.3533, allocations: 146.8 kB / 0.6705 GB, free: 4.879 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005863/0.3539, allocations: 301.8 kB / 0.6708 GB, free: 4.836 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000269/0.3542, allocations: 380.9 kB / 0.6712 GB, free: 4.598 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004877/0.3547, allocations: 0.5714 MB / 0.6717 GB, free: 4.258 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001713/0.3564, allocations: 1.748 MB / 0.6734 GB, free: 3.512 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3564, allocations: 0 / 0.6734 GB, free: 3.512 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3564, allocations: 0 / 0.6734 GB, free: 3.512 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.4e-05/0.3564, allocations: 0 / 0.6734 GB, free: 3.512 MB / 462.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.01421/0.3707, allocations: 3.671 MB / 0.677 GB, free: 2.289 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.3707, allocations: 14.09 kB / 0.677 GB, free: 2.285 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001335/0.3708, allocations: 108.8 kB / 0.6771 GB, free: 2.203 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003015/0.3738, allocations: 0.4932 MB / 0.6776 GB, free: 2.086 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001564/0.3754, allocations: 0.8476 MB / 0.6785 GB, free: 1.523 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002417/0.3756, allocations: 283.9 kB / 0.6787 GB, free: 1.266 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001735/0.3758, allocations: 76.44 kB / 0.6788 GB, free: 1.242 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001868/0.3777, allocations: 0.8929 MB / 0.6797 GB, free: 0.918 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.907e-05/0.3777, allocations: 0 / 0.6797 GB, free: 0.918 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.047e-05/0.3778, allocations: 29.86 kB / 0.6797 GB, free: 0.8945 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.3778, allocations: 17.06 kB / 0.6797 GB, free: 0.8906 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002144/0.3799, allocations: 0.9825 MB / 0.6807 GB, free: 0.5781 MB / 462.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.004772/0.3847, allocations: 2.147 MB / 0.6828 GB, free: 15.5 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002994/0.3877, allocations: 1.022 MB / 0.6838 GB, free: 15.14 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001608/0.3893, allocations: 0.6058 MB / 0.6844 GB, free: 14.91 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.613e-05/0.3894, allocations: 13.38 kB / 0.6844 GB, free: 14.91 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.667e-05/0.3894, allocations: 46.5 kB / 0.6844 GB, free: 14.86 MB / 478.1 MB Notification: Performance of pre-optimization done (n=94): time 2.875e-06/0.3894, allocations: 0 / 0.6844 GB, free: 14.86 MB / 478.1 MB Notification: Performance of matching and sorting (n=94): time 0.02683/0.4163, allocations: 6.379 MB / 0.6906 GB, free: 11.75 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.121e-05/0.4163, allocations: 61.78 kB / 0.6907 GB, free: 11.69 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001941/0.4183, allocations: 1.142 MB / 0.6918 GB, free: 11.03 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002588/0.4185, allocations: 54.66 kB / 0.6919 GB, free: 10.97 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000359/0.4189, allocations: 400.3 kB / 0.6923 GB, free: 10.62 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004503/0.4193, allocations: 376.4 kB / 0.6926 GB, free: 10.3 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006889/0.42, allocations: 369 kB / 0.693 GB, free: 10.08 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.4202, allocations: 306.2 kB / 0.6933 GB, free: 9.777 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002032/0.4222, allocations: 0.9054 MB / 0.6941 GB, free: 9.32 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002085/0.4243, allocations: 0.9377 MB / 0.6951 GB, free: 8.848 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004094/0.4284, allocations: 1.814 MB / 0.6968 GB, free: 7.914 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.785e-06/0.4284, allocations: 0 / 0.6968 GB, free: 7.914 MB / 478.1 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.007703/0.4361, allocations: 3.005 MB / 0.6998 GB, free: 6.418 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.579e-05/0.4361, allocations: 5.812 kB / 0.6998 GB, free: 6.418 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.4361, allocations: 5.25 kB / 0.6998 GB, free: 6.414 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009077/0.4452, allocations: 2.27 MB / 0.702 GB, free: 5.523 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001724/0.4469, allocations: 316.6 kB / 0.7023 GB, free: 5.461 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005634/0.4525, allocations: 2.28 MB / 0.7045 GB, free: 3.469 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002192/0.4547, allocations: 198.9 kB / 0.7047 GB, free: 3.273 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002011/0.4549, allocations: 59.98 kB / 0.7048 GB, free: 3.215 MB / 478.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.0005528/0.4555, allocations: 250.6 kB / 0.705 GB, free: 2.961 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003211/0.4558, allocations: 128.4 kB / 0.7051 GB, free: 2.836 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01161/0.4674, allocations: 3.271 MB / 0.7083 GB, free: 15.55 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-05/0.4674, allocations: 15.94 kB / 0.7083 GB, free: 15.54 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.4674, allocations: 4 kB / 0.7083 GB, free: 15.54 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.078e-05/0.4675, allocations: 7.969 kB / 0.7084 GB, free: 15.53 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001697/0.4692, allocations: 0.8705 MB / 0.7092 GB, free: 14.62 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.4692, allocations: 0 / 0.7092 GB, free: 14.62 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007331/0.4699, allocations: 111.9 kB / 0.7093 GB, free: 14.51 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005623/0.4755, allocations: 1.44 MB / 0.7107 GB, free: 13.07 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001199/0.4756, allocations: 24 kB / 0.7107 GB, free: 13.05 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02076/0.4964, allocations: 7.554 MB / 0.7181 GB, free: 5.371 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.4964, allocations: 3.938 kB / 0.7181 GB, free: 5.367 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01356/0.51, allocations: 4.113 MB / 0.7221 GB, free: 1.234 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005509/0.5105, allocations: 166.8 kB / 0.7223 GB, free: 1.07 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002338/0.5107, allocations: 16 kB / 0.7223 GB, free: 1.055 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001243/0.512, allocations: 83.91 kB / 0.7224 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000542/0.5125, allocations: 184.7 kB / 0.7226 GB, free: 0.793 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.739e-05/0.5126, allocations: 24 kB / 0.7226 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001185/0.5138, allocations: 0.7642 MB / 0.7233 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.5138, allocations: 0 / 0.7233 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001299/0.5151, allocations: 443.7 kB / 0.7238 GB, free: 15.56 MB / 0.4981 GB 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.01315/0.5282, allocations: 4.574 MB / 0.7282 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007287/0.5355, allocations: 2.178 MB / 0.7304 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.5355, allocations: 0 / 0.7304 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004259/0.5398, allocations: 1.258 MB / 0.7316 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001007/0.5408, allocations: 92.3 kB / 0.7317 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02715/0.5679, allocations: 13.31 MB / 0.7447 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005091/0.5684, allocations: 473.6 kB / 0.7451 GB, free: 9.512 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005093/0.569, allocations: 111.6 kB / 0.7452 GB, free: 9.398 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007309/0.5697, allocations: 423.3 kB / 0.7456 GB, free: 8.984 MB / 0.5137 GB Notification: Performance of SimCode: time 1.032e-06/0.5697, allocations: 0 / 0.7456 GB, free: 8.984 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07681/0.6465, allocations: 34.79 MB / 0.7796 GB, free: 6.211 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 14/14.65, allocations: 8.047 kB / 0.7796 GB, free: 6.203 MB / 0.545 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: 17.88277597911656] Failed to read output from testmodel.py, exit status != 0: 14.789427333977073 14.804897473 14.445346839 Calling exit ...