Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.conf.json 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.001751/0.001751, allocations: 105.5 kB / 16.45 MB, free: 6.508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 225.6 MB / 244.8 MB, free: 14.22 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.001576/0.001576, allocations: 193.7 kB / 299.8 MB, free: 9.875 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4813/0.4813, allocations: 79.73 MB / 434.4 MB, free: 6.23 MB / 302.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00231/0.00231, allocations: 83.86 kB / 0.5784 GB, free: 10.04 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1495, allocations: 72.1 MB / 0.6488 GB, free: 1.848 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system): time 0.008018/0.1575, allocations: 6.958 MB / 0.6556 GB, free: 10.84 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004731/0.1622, allocations: 2.317 MB / 0.6578 GB, free: 8.523 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006508/0.1629, allocations: 8 kB / 0.6578 GB, free: 8.516 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006101/0.1635, allocations: 245.9 kB / 0.6581 GB, free: 8.273 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003068/0.1665, allocations: 1.294 MB / 0.6593 GB, free: 6.984 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001036/0.1676, allocations: 0.4939 MB / 0.6598 GB, free: 6.492 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002384/0.17, allocations: 2.019 MB / 0.6618 GB, free: 4.465 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003607/0.1703, allocations: 177.1 kB / 0.6619 GB, free: 4.277 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009556/0.1713, allocations: 0.7822 MB / 0.6627 GB, free: 3.492 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001259/0.1725, allocations: 1.047 MB / 0.6637 GB, free: 2.441 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002555/0.1728, allocations: 156 kB / 0.6639 GB, free: 2.289 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006712/0.1735, allocations: 331.8 kB / 0.6642 GB, free: 1.965 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003752/0.1738, allocations: 410.5 kB / 0.6646 GB, free: 1.562 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007631/0.1746, allocations: 0.777 MB / 0.6653 GB, free: 0.7812 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002151/0.1768, allocations: 1.895 MB / 0.6672 GB, free: 14.88 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.1768, allocations: 0 / 0.6672 GB, free: 14.88 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1768, allocations: 0 / 0.6672 GB, free: 14.88 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.819e-05/0.1768, allocations: 0 / 0.6672 GB, free: 14.88 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: 175 * Number of variables: 175 Notification: Performance of Generate backend data structure: time 0.01536/0.1922, allocations: 3.952 MB / 0.6711 GB, free: 10.87 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/0.1922, allocations: 8.031 kB / 0.6711 GB, free: 10.86 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001647/0.1924, allocations: 118.7 kB / 0.6712 GB, free: 10.73 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003096/0.1955, allocations: 0.5266 MB / 0.6717 GB, free: 10.21 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001698/0.1972, allocations: 0.9789 MB / 0.6726 GB, free: 9.176 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003215/0.1975, allocations: 234.9 kB / 0.6729 GB, free: 8.914 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001916/0.1977, allocations: 95.95 kB / 0.673 GB, free: 8.82 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002113/0.1998, allocations: 0.9793 MB / 0.6739 GB, free: 7.836 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.055e-05/0.1998, allocations: 0 / 0.6739 GB, free: 7.836 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.209e-05/0.1999, allocations: 28 kB / 0.6739 GB, free: 7.809 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.838e-05/0.1999, allocations: 16 kB / 0.674 GB, free: 7.793 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002601/0.2025, allocations: 1.093 MB / 0.675 GB, free: 6.699 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.006524/0.209, allocations: 3.735 MB / 0.6787 GB, free: 2.789 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00317/0.2122, allocations: 1.593 MB / 0.6802 GB, free: 1.074 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001498/0.2137, allocations: 0.6505 MB / 0.6809 GB, free: 436 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001019/0.2138, allocations: 16.98 kB / 0.6809 GB, free: 420 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.407e-05/0.2138, allocations: 43.56 kB / 0.6809 GB, free: 368 kB / 478.1 MB Notification: Performance of pre-optimization done (n=103): time 3.236e-06/0.2139, allocations: 0 / 0.6809 GB, free: 368 kB / 478.1 MB Notification: Performance of matching and sorting (n=103): time 0.02126/0.2351, allocations: 5.577 MB / 0.6864 GB, free: 10.74 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.523e-05/0.2352, allocations: 76.28 kB / 0.6864 GB, free: 10.66 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002053/0.2372, allocations: 1.276 MB / 0.6877 GB, free: 9.371 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002682/0.2375, allocations: 53.69 kB / 0.6877 GB, free: 9.312 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004397/0.2379, allocations: 482.2 kB / 0.6882 GB, free: 8.836 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005156/0.2385, allocations: 416.5 kB / 0.6886 GB, free: 8.426 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006698/0.2391, allocations: 375.5 kB / 0.689 GB, free: 8.051 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.2393, allocations: 301.1 kB / 0.6892 GB, free: 7.754 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002068/0.2413, allocations: 0.9488 MB / 0.6902 GB, free: 6.801 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002264/0.2436, allocations: 1.109 MB / 0.6913 GB, free: 5.66 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00408/0.2477, allocations: 1.935 MB / 0.6931 GB, free: 3.703 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.101e-06/0.2477, allocations: 0 / 0.6931 GB, free: 3.703 MB / 494.1 MB Notification: Performance of matching and sorting (n=256) (initialization): time 0.006963/0.2546, allocations: 3.005 MB / 0.6961 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.735e-05/0.2547, allocations: 4 kB / 0.6961 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/0.2547, allocations: 4 kB / 0.6961 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2924/0.5471, allocations: 2.277 MB / 0.6983 GB, free: 43.91 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001989/0.5491, allocations: 352.2 kB / 0.6986 GB, free: 43.91 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005578/0.5546, allocations: 2.275 MB / 0.7009 GB, free: 43.38 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002563/0.5572, allocations: 220.4 kB / 0.7011 GB, free: 43.38 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003016/0.5575, allocations: 69.66 kB / 0.7011 GB, free: 43.38 MB / 494.1 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 (204): * Single equations (assignments): 203 * 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.0006487/0.5582, allocations: 266.5 kB / 0.7014 GB, free: 43.26 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003888/0.5585, allocations: 139.7 kB / 0.7015 GB, free: 43.26 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01138/0.5699, allocations: 3.315 MB / 0.7048 GB, free: 42.87 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.013e-05/0.57, allocations: 15.39 kB / 0.7048 GB, free: 42.87 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/0.57, allocations: 3.719 kB / 0.7048 GB, free: 42.87 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-05/0.57, allocations: 5.922 kB / 0.7048 GB, free: 42.87 MB / 494.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 postOpt removeSimpleEquations (simulation): time 0.01394/0.5839, allocations: 4.998 MB / 0.7097 GB, free: 41.03 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.49e-05/0.5839, allocations: 1.156 kB / 0.7097 GB, free: 41.03 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009181/0.5849, allocations: 134.3 kB / 0.7098 GB, free: 41.01 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005429/0.5903, allocations: 1.444 MB / 0.7112 GB, free: 40.76 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002369/0.5905, allocations: 22.31 kB / 0.7112 GB, free: 40.75 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01779/0.6083, allocations: 7.846 MB / 0.7189 GB, free: 36.81 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.6083, allocations: 1.406 kB / 0.7189 GB, free: 36.81 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01209/0.6204, allocations: 4.218 MB / 0.723 GB, free: 34.99 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006557/0.6211, allocations: 256.4 kB / 0.7233 GB, free: 34.77 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002081/0.6213, allocations: 19.97 kB / 0.7233 GB, free: 34.76 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001268/0.6225, allocations: 95.39 kB / 0.7234 GB, free: 34.71 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005298/0.6231, allocations: 179.6 kB / 0.7235 GB, free: 34.61 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.946e-05/0.6231, allocations: 29.39 kB / 0.7236 GB, free: 34.6 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001008/0.6242, allocations: 0.847 MB / 0.7244 GB, free: 34.13 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6242, allocations: 0 / 0.7244 GB, free: 34.13 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001297/0.6254, allocations: 483.3 kB / 0.7249 GB, free: 34.07 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 (71): * Single equations (assignments): 70 * 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.01085/0.6363, allocations: 4.689 MB / 0.7294 GB, free: 31.41 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006244/0.6425, allocations: 2.28 MB / 0.7317 GB, free: 29.3 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.6425, allocations: 0 / 0.7317 GB, free: 29.3 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003724/0.6463, allocations: 1.293 MB / 0.7329 GB, free: 28 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00112/0.6474, allocations: 108.1 kB / 0.733 GB, free: 27.89 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02342/0.6708, allocations: 14.62 MB / 0.7473 GB, free: 13.12 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005516/0.6714, allocations: 1.109 MB / 0.7484 GB, free: 11.98 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005184/0.6719, allocations: 128.7 kB / 0.7485 GB, free: 11.85 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006383/0.6725, allocations: 0.4915 MB / 0.749 GB, free: 11.36 MB / 494.1 MB Notification: Performance of SimCode: time 1.122e-06/0.6725, allocations: 0 / 0.749 GB, free: 11.36 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08006/0.7526, allocations: 36.61 MB / 0.7847 GB, free: 6.953 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.98/15.74, allocations: 2.578 kB / 0.7848 GB, free: 6.953 MB / 0.5138 GB " [Timeout remaining time 644] (rm -f OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system.fmu > OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.214181376155466] Failed to read output from testmodel.py, exit status != 0: 15.853215567301959 15.877272938 15.696347005 Calling exit ...