Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_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.0007877/0.0007877, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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 0.8936/0.8936, allocations: 177.1 MB / 199.4 MB, free: 5.945 MB / 186.7 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.00125/0.00125, allocations: 152.6 kB / 256 MB, free: 13.35 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.2691/0.2691, allocations: 80.24 MB / 392.6 MB, free: 2.449 MB / 314.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.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 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.Aggregated_system,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 0.5548 GB, free: 12.75 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.121e-05/2.303e-05, allocations: 2.281 kB / 0.5548 GB, free: 12.75 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system): time 0.007265/0.007288, allocations: 5.487 MB / 0.5601 GB, free: 7.23 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.004271/0.01156, allocations: 2.032 MB / 0.5621 GB, free: 5.195 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008711/0.01243, allocations: 8 kB / 0.5621 GB, free: 5.188 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007603/0.01319, allocations: 242 kB / 0.5623 GB, free: 4.949 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00197/0.01516, allocations: 0.928 MB / 0.5632 GB, free: 4.02 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001112/0.01627, allocations: 0.5562 MB / 0.5638 GB, free: 3.465 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.002266/0.01854, allocations: 1.711 MB / 0.5655 GB, free: 1.746 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003153/0.01885, allocations: 136 kB / 0.5656 GB, free: 1.598 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001107/0.01996, allocations: 0.9431 MB / 0.5665 GB, free: 0.6523 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007091/0.02067, allocations: 0.7673 MB / 0.5673 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001778/0.02085, allocations: 148 kB / 0.5674 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004939/0.02134, allocations: 307.7 kB / 0.5677 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.000224/0.02157, allocations: 374.5 kB / 0.568 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003743/0.02194, allocations: 490.5 kB / 0.5685 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001345/0.02329, allocations: 1.791 MB / 0.5703 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.02329, allocations: 3.938 kB / 0.5703 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.783e-06/0.02329, allocations: 0 / 0.5703 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.616e-05/0.02332, allocations: 0 / 0.5703 GB, free: 12.79 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.006425/0.02974, allocations: 3.1 MB / 0.5733 GB, free: 9.652 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.02979, allocations: 12.03 kB / 0.5733 GB, free: 9.641 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001066/0.02989, allocations: 102.7 kB / 0.5734 GB, free: 9.531 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001479/0.03137, allocations: 0.5035 MB / 0.5739 GB, free: 9.023 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001359/0.03273, allocations: 0.8425 MB / 0.5747 GB, free: 8.141 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002867/0.03302, allocations: 286 kB / 0.575 GB, free: 7.816 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001728/0.03319, allocations: 83.95 kB / 0.5751 GB, free: 7.734 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001802/0.03499, allocations: 0.9081 MB / 0.576 GB, free: 6.824 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.857e-05/0.03501, allocations: 4 kB / 0.576 GB, free: 6.82 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-05/0.03509, allocations: 24 kB / 0.576 GB, free: 6.797 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.582e-05/0.03511, allocations: 16 kB / 0.576 GB, free: 6.781 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002093/0.0372, allocations: 1.001 MB / 0.577 GB, free: 5.781 MB / 0.4948 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.003911/0.04111, allocations: 2.16 MB / 0.5791 GB, free: 3.574 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00163/0.04274, allocations: 1.045 MB / 0.5801 GB, free: 2.523 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007938/0.04354, allocations: 0.6089 MB / 0.5807 GB, free: 1.914 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.009e-05/0.04362, allocations: 20.98 kB / 0.5807 GB, free: 1.895 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.04364, allocations: 43.56 kB / 0.5808 GB, free: 1.84 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=96): time 4.128e-06/0.04365, allocations: 0 / 0.5808 GB, free: 1.84 MB / 0.4948 GB Notification: Performance of matching and sorting (n=96): time 0.01273/0.05638, allocations: 6.097 MB / 0.5867 GB, free: 11.73 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.465e-05/0.05644, allocations: 64.41 kB / 0.5868 GB, free: 11.65 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001313/0.05775, allocations: 1.137 MB / 0.5879 GB, free: 10.5 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001657/0.05792, allocations: 49.7 kB / 0.5879 GB, free: 10.44 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002405/0.05816, allocations: 402.3 kB / 0.5883 GB, free: 10.04 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003147/0.05847, allocations: 372.8 kB / 0.5887 GB, free: 9.676 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000411/0.05888, allocations: 363.4 kB / 0.589 GB, free: 9.312 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.121e-05/0.05895, allocations: 309 kB / 0.5893 GB, free: 9.008 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001216/0.06017, allocations: 0.9175 MB / 0.5902 GB, free: 8.09 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001451/0.06162, allocations: 0.9507 MB / 0.5911 GB, free: 7.137 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002493/0.06411, allocations: 1.84 MB / 0.5929 GB, free: 5.297 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.06412, allocations: 0 / 0.5929 GB, free: 5.297 MB / 0.5105 GB Notification: Performance of matching and sorting (n=243) (initialization): time 0.004593/0.06871, allocations: 3.228 MB / 0.5961 GB, free: 2.059 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/0.06874, allocations: 4 kB / 0.5961 GB, free: 2.055 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.06875, allocations: 0 / 0.5961 GB, free: 2.055 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2278/0.2966, allocations: 2.325 MB / 0.5984 GB, free: 91.99 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001108/0.2977, allocations: 327.1 kB / 0.5987 GB, free: 91.99 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003039/0.3007, allocations: 2.297 MB / 0.6009 GB, free: 91.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001137/0.3019, allocations: 207 kB / 0.6011 GB, free: 91.46 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001032/0.302, allocations: 61.17 kB / 0.6012 GB, free: 91.46 MB / 0.5105 GB 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 (191): * Single equations (assignments): 190 * 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.0003252/0.3023, allocations: 253.9 kB / 0.6014 GB, free: 91.34 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001418/0.3024, allocations: 121.2 kB / 0.6015 GB, free: 91.34 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005396/0.3078, allocations: 3.337 MB / 0.6048 GB, free: 90.91 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/0.3078, allocations: 9.562 kB / 0.6048 GB, free: 90.91 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.3078, allocations: 3.156 kB / 0.6048 GB, free: 90.91 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.768e-06/0.3079, allocations: 8.906 kB / 0.6048 GB, free: 90.91 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008277/0.3087, allocations: 0.8769 MB / 0.6057 GB, free: 90.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.3087, allocations: 4.625 kB / 0.6057 GB, free: 90.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003478/0.309, allocations: 111.5 kB / 0.6058 GB, free: 90.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002715/0.3118, allocations: 1.497 MB / 0.6072 GB, free: 90.28 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.059e-05/0.3118, allocations: 26.25 kB / 0.6073 GB, free: 90.26 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01141/0.3232, allocations: 7.715 MB / 0.6148 GB, free: 86.53 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.3232, allocations: 0.7031 kB / 0.6148 GB, free: 86.53 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007364/0.3306, allocations: 4.174 MB / 0.6189 GB, free: 85.28 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00037/0.331, allocations: 167.4 kB / 0.619 GB, free: 85.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001259/0.3311, allocations: 20.33 kB / 0.6191 GB, free: 85.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006012/0.3317, allocations: 88.92 kB / 0.6191 GB, free: 85.15 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004429/0.3321, allocations: 190.3 kB / 0.6193 GB, free: 85.11 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.798e-05/0.3322, allocations: 23.94 kB / 0.6193 GB, free: 85.1 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0007904/0.333, allocations: 0.7594 MB / 0.6201 GB, free: 84.77 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.333, allocations: 0 / 0.6201 GB, free: 84.77 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001014/0.334, allocations: 445.3 kB / 0.6205 GB, free: 84.71 MB / 0.5105 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 (64): * Single equations (assignments): 63 * 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.007271/0.3413, allocations: 4.661 MB / 0.6251 GB, free: 82.91 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004314/0.3456, allocations: 2.236 MB / 0.6273 GB, free: 82.27 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.3456, allocations: 1.094 kB / 0.6273 GB, free: 82.27 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002444/0.348, allocations: 1.293 MB / 0.6285 GB, free: 81.8 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007212/0.3487, allocations: 101.3 kB / 0.6286 GB, free: 81.74 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01702/0.3658, allocations: 13.91 MB / 0.6422 GB, free: 75.44 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002504/0.366, allocations: 480.8 kB / 0.6427 GB, free: 75.04 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002897/0.3663, allocations: 106.9 kB / 0.6428 GB, free: 74.93 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003902/0.3667, allocations: 432.3 kB / 0.6432 GB, free: 74.51 MB / 0.5105 GB Notification: Performance of SimCode: time 1.343e-06/0.3667, allocations: 4 kB / 0.6432 GB, free: 74.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0399/0.4066, allocations: 35.26 MB / 0.6776 GB, free: 39.47 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.779/9.186, allocations: 0 / 0.6776 GB, free: 39.47 MB / 0.5105 GB " [Timeout remaining time 651] (rm -f OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system.fmu > OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.555807476863265] Failed to read output from testmodel.py, exit status != 0: 9.297773607075214 9.304134851 9.279310231 Calling exit ...