Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.0008603/0.0008603, 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.8857/0.8857, allocations: 177.1 MB / 199.4 MB, free: 5.949 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.001021/0.001021, allocations: 163 kB / 256 MB, free: 13.36 MB / 250.7 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.2665/0.2665, allocations: 80.37 MB / 392.7 MB, free: 2.375 MB / 314.7 MB " [Timeout remaining time 180] Using package OpenIPSL with version 3.2.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.Aggregated_system,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 0.5549 GB, free: 12.26 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.838e-05/2.021e-05, allocations: 4.359 kB / 0.5549 GB, free: 12.26 MB / 442.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system): time 0.004355/0.004375, allocations: 5.479 MB / 0.5603 GB, free: 6.742 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002154/0.00653, allocations: 2.036 MB / 0.5623 GB, free: 4.703 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002322/0.006762, allocations: 8 kB / 0.5623 GB, free: 4.695 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003351/0.007097, allocations: 234 kB / 0.5625 GB, free: 4.465 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001098/0.008195, allocations: 0.9325 MB / 0.5634 GB, free: 3.527 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005619/0.008757, allocations: 0.559 MB / 0.564 GB, free: 2.973 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009933/0.00975, allocations: 1.715 MB / 0.5656 GB, free: 1.25 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001867/0.009937, allocations: 131.9 kB / 0.5658 GB, free: 1.109 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006034/0.01054, allocations: 0.9547 MB / 0.5667 GB, free: 156 kB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1708/0.1813, allocations: 0.7581 MB / 0.5674 GB, free: 16.47 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004355/0.1818, allocations: 147.6 kB / 0.5676 GB, free: 16.47 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006009/0.1824, allocations: 310.1 kB / 0.5679 GB, free: 16.47 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002341/0.1826, allocations: 372.5 kB / 0.5682 GB, free: 16.47 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000548/0.1831, allocations: 498.6 kB / 0.5687 GB, free: 16.47 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00165/0.1848, allocations: 1.778 MB / 0.5704 GB, free: 16.39 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1848, allocations: 0 / 0.5704 GB, free: 16.39 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1848, allocations: 0 / 0.5704 GB, free: 16.39 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.25e-05/0.1848, allocations: 0 / 0.5704 GB, free: 16.39 MB / 442.7 MB 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.007199/0.192, allocations: 3.109 MB / 0.5735 GB, free: 15.57 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/0.1921, allocations: 10.73 kB / 0.5735 GB, free: 15.57 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001335/0.1922, allocations: 107.5 kB / 0.5736 GB, free: 15.53 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001786/0.194, allocations: 0.4983 MB / 0.5741 GB, free: 15.45 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00124/0.1952, allocations: 0.8373 MB / 0.5749 GB, free: 15.15 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002177/0.1955, allocations: 284.5 kB / 0.5752 GB, free: 14.93 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001377/0.1956, allocations: 88.16 kB / 0.5752 GB, free: 14.93 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001474/0.1971, allocations: 0.9131 MB / 0.5761 GB, free: 14.71 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.1971, allocations: 4.266 kB / 0.5761 GB, free: 14.71 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.863e-05/0.1971, allocations: 23.97 kB / 0.5762 GB, free: 14.7 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.277e-05/0.1972, allocations: 14.81 kB / 0.5762 GB, free: 14.7 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0016/0.1988, allocations: 1.002 MB / 0.5771 GB, free: 14.38 MB / 442.7 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.003545/0.2023, allocations: 2.151 MB / 0.5792 GB, free: 13.35 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001889/0.2042, allocations: 1.037 MB / 0.5803 GB, free: 13 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008545/0.205, allocations: 0.6193 MB / 0.5809 GB, free: 12.78 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.447e-05/0.2051, allocations: 12.94 kB / 0.5809 GB, free: 12.77 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.81e-05/0.2052, allocations: 49.53 kB / 0.5809 GB, free: 12.72 MB / 442.7 MB Notification: Performance of pre-optimization done (n=96): time 2.925e-06/0.2052, allocations: 0 / 0.5809 GB, free: 12.72 MB / 442.7 MB Notification: Performance of matching and sorting (n=96): time 0.01354/0.2187, allocations: 6.096 MB / 0.5869 GB, free: 11.18 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.701e-05/0.2187, allocations: 64.34 kB / 0.5869 GB, free: 11.11 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001387/0.2201, allocations: 1.146 MB / 0.5881 GB, free: 10.45 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001481/0.2203, allocations: 46.42 kB / 0.5881 GB, free: 10.4 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000173/0.2204, allocations: 399.4 kB / 0.5885 GB, free: 10.06 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002595/0.2207, allocations: 383 kB / 0.5889 GB, free: 9.738 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004431/0.2211, allocations: 363.4 kB / 0.5892 GB, free: 9.527 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 2.512e-05/0.2212, allocations: 307.7 kB / 0.5895 GB, free: 9.227 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001245/0.2224, allocations: 0.915 MB / 0.5904 GB, free: 8.766 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001249/0.2237, allocations: 0.9466 MB / 0.5913 GB, free: 8.285 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002367/0.226, allocations: 1.836 MB / 0.5931 GB, free: 7.344 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.226, allocations: 0 / 0.5931 GB, free: 7.344 MB / 442.7 MB Notification: Performance of matching and sorting (n=243) (initialization): time 0.004647/0.2307, allocations: 3.226 MB / 0.5963 GB, free: 5.758 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.852e-05/0.2307, allocations: 4.125 kB / 0.5963 GB, free: 5.758 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/0.2307, allocations: 1.375 kB / 0.5963 GB, free: 5.758 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004615/0.2353, allocations: 2.332 MB / 0.5985 GB, free: 4.836 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007922/0.2361, allocations: 323.2 kB / 0.5988 GB, free: 4.785 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002772/0.2389, allocations: 2.299 MB / 0.6011 GB, free: 3.379 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001039/0.2399, allocations: 212.7 kB / 0.6013 GB, free: 3.238 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.911e-05/0.24, allocations: 63.08 kB / 0.6014 GB, free: 3.184 MB / 442.7 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 (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.0003126/0.2403, allocations: 243.6 kB / 0.6016 GB, free: 2.953 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001349/0.2405, allocations: 123.1 kB / 0.6017 GB, free: 2.832 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005358/0.2458, allocations: 3.341 MB / 0.605 GB, free: 15.51 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.959e-06/0.2458, allocations: 11.94 kB / 0.605 GB, free: 15.5 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.2458, allocations: 4 kB / 0.605 GB, free: 15.5 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.347e-05/0.2459, allocations: 7.969 kB / 0.605 GB, free: 15.49 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009798/0.2468, allocations: 0.867 MB / 0.6058 GB, free: 14.6 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/0.2468, allocations: 1.5 kB / 0.6058 GB, free: 14.6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003607/0.2472, allocations: 125.2 kB / 0.606 GB, free: 14.49 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002909/0.2501, allocations: 1.491 MB / 0.6074 GB, free: 13 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.72e-05/0.2502, allocations: 23.98 kB / 0.6074 GB, free: 12.97 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01131/0.2615, allocations: 7.712 MB / 0.615 GB, free: 5.156 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.2615, allocations: 0 / 0.615 GB, free: 5.156 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006981/0.2685, allocations: 4.196 MB / 0.6191 GB, free: 0.9688 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002971/0.2688, allocations: 158.9 kB / 0.6192 GB, free: 0.8125 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001276/0.2689, allocations: 16 kB / 0.6192 GB, free: 0.7969 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005883/0.2695, allocations: 91.89 kB / 0.6193 GB, free: 0.707 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003157/0.2698, allocations: 188.1 kB / 0.6195 GB, free: 0.5234 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.638e-05/0.2699, allocations: 29.78 kB / 0.6195 GB, free: 0.4961 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0007088/0.2706, allocations: 0.7566 MB / 0.6203 GB, free: 15.73 MB / 474.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2706, allocations: 2.297 kB / 0.6203 GB, free: 15.73 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0008695/0.2714, allocations: 451.7 kB / 0.6207 GB, free: 15.29 MB / 474.7 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 (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.006913/0.2784, allocations: 4.657 MB / 0.6252 GB, free: 10.64 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003986/0.2823, allocations: 2.24 MB / 0.6274 GB, free: 8.418 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2823, allocations: 0 / 0.6274 GB, free: 8.418 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002253/0.2846, allocations: 1.292 MB / 0.6287 GB, free: 7.125 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006762/0.2853, allocations: 87.55 kB / 0.6288 GB, free: 7.039 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01896/0.3042, allocations: 13.92 MB / 0.6424 GB, free: 9.082 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002942/0.3045, allocations: 477.7 kB / 0.6428 GB, free: 8.582 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003435/0.3049, allocations: 107.8 kB / 0.6429 GB, free: 8.473 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004624/0.3053, allocations: 428.4 kB / 0.6433 GB, free: 8.055 MB / 490.7 MB Notification: Performance of SimCode: time 1.253e-06/0.3053, allocations: 0 / 0.6433 GB, free: 8.055 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04734/0.3527, allocations: 35.25 MB / 0.6778 GB, free: 5.02 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.448/8.801, allocations: 7.797 kB / 0.6778 GB, free: 5.012 MB / 0.5105 GB " [Timeout remaining time 651] (rm -f OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system.fmu > OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.028240993618965] Failed to read output from testmodel.py, exit status != 0: 8.905498684383929 8.913221565 8.726729505 Calling exit ...