Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_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.0008165/0.0008165, 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.8473/0.8473, allocations: 177.1 MB / 199.4 MB, free: 5.93 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.001006/0.001006, allocations: 152.6 kB / 256 MB, free: 13.34 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.2607/0.2607, allocations: 80.35 MB / 392.7 MB, free: 2.383 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.Line_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.5549 GB, free: 12.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.197e-05/1.339e-05, allocations: 6.281 kB / 0.5549 GB, free: 12.28 MB / 442.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system): time 0.004501/0.004515, allocations: 6.118 MB / 0.5609 GB, free: 6.125 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.00246/0.006974, allocations: 2.219 MB / 0.5631 GB, free: 3.902 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002734/0.007248, allocations: 8 kB / 0.5631 GB, free: 3.895 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003625/0.00761, allocations: 261.8 kB / 0.5633 GB, free: 3.637 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001208/0.008818, allocations: 0.9933 MB / 0.5643 GB, free: 2.641 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005968/0.009415, allocations: 0.5923 MB / 0.5649 GB, free: 2.051 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001099/0.01051, allocations: 1.893 MB / 0.5667 GB, free: 152 kB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1737/0.1842, allocations: 162.9 kB / 0.5669 GB, free: 14.96 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001464/0.1857, allocations: 1.04 MB / 0.5679 GB, free: 14.96 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007671/0.1864, allocations: 0.824 MB / 0.5687 GB, free: 14.96 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002012/0.1866, allocations: 156.2 kB / 0.5689 GB, free: 14.96 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005021/0.1871, allocations: 333.4 kB / 0.5692 GB, free: 14.96 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002285/0.1874, allocations: 406.9 kB / 0.5696 GB, free: 14.96 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004235/0.1878, allocations: 0.5366 MB / 0.5701 GB, free: 14.92 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001555/0.1893, allocations: 1.955 MB / 0.572 GB, free: 14.73 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1893, allocations: 2.344 kB / 0.572 GB, free: 14.73 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1893, allocations: 0 / 0.572 GB, free: 14.73 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.054e-05/0.1894, allocations: 0.9375 kB / 0.572 GB, free: 14.73 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.006372/0.1957, allocations: 3.292 MB / 0.5752 GB, free: 13.82 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.1958, allocations: 10.78 kB / 0.5752 GB, free: 13.82 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001163/0.1959, allocations: 122.1 kB / 0.5753 GB, free: 13.78 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001589/0.1975, allocations: 0.5206 MB / 0.5758 GB, free: 13.68 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001047/0.1985, allocations: 0.9224 MB / 0.5767 GB, free: 13.36 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001839/0.1987, allocations: 289.2 kB / 0.577 GB, free: 13.14 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001347/0.1988, allocations: 96.95 kB / 0.5771 GB, free: 13.14 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00142/0.2003, allocations: 0.9956 MB / 0.5781 GB, free: 12.91 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.2003, allocations: 0.5625 kB / 0.5781 GB, free: 12.91 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.985e-05/0.2003, allocations: 26.5 kB / 0.5781 GB, free: 12.89 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.337e-05/0.2004, allocations: 20.59 kB / 0.5781 GB, free: 12.89 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001679/0.202, allocations: 1.103 MB / 0.5792 GB, free: 12.55 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.003726/0.2058, allocations: 2.736 MB / 0.5819 GB, free: 11.23 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001727/0.2075, allocations: 1.159 MB / 0.583 GB, free: 10.85 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008705/0.2084, allocations: 0.6584 MB / 0.5837 GB, free: 10.62 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.257e-05/0.2084, allocations: 15.62 kB / 0.5837 GB, free: 10.62 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.547e-05/0.2085, allocations: 45.09 kB / 0.5837 GB, free: 10.57 MB / 442.7 MB Notification: Performance of pre-optimization done (n=105): time 2.224e-06/0.2085, allocations: 0 / 0.5837 GB, free: 10.57 MB / 442.7 MB Notification: Performance of matching and sorting (n=105): time 0.01324/0.2217, allocations: 6.427 MB / 0.59 GB, free: 8.566 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.841e-05/0.2217, allocations: 63.12 kB / 0.5901 GB, free: 8.504 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001128/0.2229, allocations: 1.284 MB / 0.5913 GB, free: 7.781 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.291e-05/0.2229, allocations: 49.86 kB / 0.5914 GB, free: 7.73 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001938/0.2231, allocations: 484.7 kB / 0.5918 GB, free: 7.316 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002167/0.2233, allocations: 415.7 kB / 0.5922 GB, free: 6.965 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004281/0.2238, allocations: 386.6 kB / 0.5926 GB, free: 6.734 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 1.962e-05/0.2238, allocations: 302.2 kB / 0.5929 GB, free: 6.438 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001257/0.225, allocations: 0.9612 MB / 0.5938 GB, free: 5.949 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001377/0.2264, allocations: 1.122 MB / 0.5949 GB, free: 5.328 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002536/0.229, allocations: 1.95 MB / 0.5968 GB, free: 4.297 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.229, allocations: 0 / 0.5968 GB, free: 4.297 MB / 442.7 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.00438/0.2333, allocations: 3.286 MB / 0.6 GB, free: 2.684 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.2334, allocations: 6.156 kB / 0.6 GB, free: 2.684 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.2334, allocations: 10.66 kB / 0.6 GB, free: 2.68 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004409/0.2378, allocations: 2.339 MB / 0.6023 GB, free: 1.742 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007877/0.2386, allocations: 353.5 kB / 0.6027 GB, free: 1.414 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00284/0.2414, allocations: 2.306 MB / 0.6049 GB, free: 15.09 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001083/0.2425, allocations: 222.8 kB / 0.6051 GB, free: 14.87 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001009/0.2426, allocations: 71.97 kB / 0.6052 GB, free: 14.8 MB / 458.7 MB 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 (206): * Single equations (assignments): 205 * 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.0003713/0.243, allocations: 263.9 kB / 0.6054 GB, free: 14.55 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001623/0.2431, allocations: 143 kB / 0.6056 GB, free: 14.41 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005833/0.249, allocations: 3.387 MB / 0.6089 GB, free: 11.03 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.024e-06/0.249, allocations: 11.94 kB / 0.6089 GB, free: 11.02 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.249, allocations: 0 / 0.6089 GB, free: 11.02 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/0.249, allocations: 15.91 kB / 0.6089 GB, free: 11 MB / 458.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 postOpt removeSimpleEquations (simulation): time 0.006936/0.2559, allocations: 4.437 MB / 0.6132 GB, free: 6.57 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.2559, allocations: 3.984 kB / 0.6132 GB, free: 6.566 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003847/0.2563, allocations: 135.1 kB / 0.6134 GB, free: 6.441 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002844/0.2591, allocations: 1.495 MB / 0.6148 GB, free: 4.945 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.067e-05/0.2592, allocations: 23.98 kB / 0.6149 GB, free: 4.922 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01099/0.2702, allocations: 7.724 MB / 0.6224 GB, free: 13.1 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.2702, allocations: 4 kB / 0.6224 GB, free: 13.09 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007052/0.2773, allocations: 4.323 MB / 0.6266 GB, free: 8.781 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003135/0.2776, allocations: 182.8 kB / 0.6268 GB, free: 8.602 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001298/0.2777, allocations: 23.19 kB / 0.6268 GB, free: 8.582 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006376/0.2783, allocations: 99.83 kB / 0.6269 GB, free: 8.484 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003271/0.2787, allocations: 192.7 kB / 0.6271 GB, free: 8.297 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.777e-05/0.2787, allocations: 31.98 kB / 0.6271 GB, free: 8.266 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.000782/0.2795, allocations: 0.8434 MB / 0.628 GB, free: 7.418 MB / 474.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2795, allocations: 0 / 0.628 GB, free: 7.418 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0009264/0.2804, allocations: 479.7 kB / 0.6284 GB, free: 6.949 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 (73): * Single equations (assignments): 72 * 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.006981/0.2874, allocations: 4.796 MB / 0.6331 GB, free: 2.156 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004045/0.2914, allocations: 2.321 MB / 0.6354 GB, free: 15.86 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2914, allocations: 0 / 0.6354 GB, free: 15.86 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002333/0.2938, allocations: 1.338 MB / 0.6367 GB, free: 14.52 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006868/0.2945, allocations: 113.4 kB / 0.6368 GB, free: 14.41 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01658/0.311, allocations: 14.17 MB / 0.6506 GB, free: 152 kB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003238/0.3114, allocations: 0.5215 MB / 0.6511 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0003039/0.3117, allocations: 132.9 kB / 0.6513 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004993/0.3122, allocations: 0.4964 MB / 0.6517 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of SimCode: time 1.162e-06/0.3122, allocations: 0 / 0.6517 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04391/0.3561, allocations: 37.82 MB / 0.6887 GB, free: 9.359 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.444/8.801, allocations: 2.5 kB / 0.6887 GB, free: 9.359 MB / 0.5261 GB " [Timeout remaining time 651] (rm -f OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system.fmu > OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.970098075456917] Failed to read output from testmodel.py, exit status != 0: 8.905450641177595 8.914093424 8.723025401 Calling exit ...