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.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.001933/0.001933, allocations: 116.3 kB / 17.17 MB, free: 5.863 MB / 14.72 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 1.566/1.566, allocations: 230.6 MB / 250.5 MB, free: 9.203 MB / 206.1 MB " [Timeout remaining time 178] 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.002711/0.002711, allocations: 214.7 kB / 306.7 MB, free: 4.305 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.4944/0.4944, allocations: 79.71 MB / 442.5 MB, free: 148 kB / 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.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_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 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.002401/0.002401, allocations: 83.88 kB / 0.5885 GB, free: 1.609 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1626, allocations: 73.26 MB / 0.66 GB, free: 8.262 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system): time 0.00865/0.1712, allocations: 6.987 MB / 0.6668 GB, free: 1.234 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005924/0.1772, allocations: 2.328 MB / 0.6691 GB, free: 14.89 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001209/0.1784, allocations: 16 kB / 0.6691 GB, free: 14.88 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008496/0.1792, allocations: 257.8 kB / 0.6694 GB, free: 14.62 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003599/0.1828, allocations: 1.291 MB / 0.6706 GB, free: 13.34 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001225/0.184, allocations: 0.5076 MB / 0.6711 GB, free: 12.84 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00276/0.1868, allocations: 2.015 MB / 0.6731 GB, free: 10.82 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003952/0.1872, allocations: 164.9 kB / 0.6733 GB, free: 10.65 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001222/0.1884, allocations: 0.7978 MB / 0.674 GB, free: 9.848 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001321/0.1897, allocations: 1.055 MB / 0.6751 GB, free: 8.789 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002573/0.19, allocations: 156 kB / 0.6752 GB, free: 8.637 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007209/0.1907, allocations: 339.8 kB / 0.6755 GB, free: 8.305 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004005/0.1911, allocations: 414.4 kB / 0.6759 GB, free: 7.898 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007449/0.1919, allocations: 0.777 MB / 0.6767 GB, free: 7.117 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002347/0.1942, allocations: 1.902 MB / 0.6786 GB, free: 5.207 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.1942, allocations: 3.938 kB / 0.6786 GB, free: 5.203 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1942, allocations: 0 / 0.6786 GB, free: 5.203 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.996e-05/0.1942, allocations: 0 / 0.6786 GB, free: 5.203 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.01613/0.2104, allocations: 3.936 MB / 0.6824 GB, free: 1.203 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.43e-05/0.2104, allocations: 23.95 kB / 0.6824 GB, free: 1.18 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.878e-05/0.2105, allocations: 17.5 kB / 0.6824 GB, free: 1.164 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001597/0.2106, allocations: 118.7 kB / 0.6826 GB, free: 1.039 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003187/0.2138, allocations: 0.5225 MB / 0.6831 GB, free: 0.5156 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001716/0.2155, allocations: 0.9828 MB / 0.684 GB, free: 15.48 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003207/0.2158, allocations: 230.9 kB / 0.6842 GB, free: 15.22 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001932/0.216, allocations: 87.95 kB / 0.6843 GB, free: 15.14 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002298/0.2183, allocations: 0.9833 MB / 0.6853 GB, free: 14.14 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.095e-05/0.2184, allocations: 0 / 0.6853 GB, free: 14.14 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.644e-05/0.2185, allocations: 28 kB / 0.6853 GB, free: 14.12 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.175e-05/0.2185, allocations: 23.88 kB / 0.6853 GB, free: 14.09 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002701/0.2212, allocations: 1.089 MB / 0.6864 GB, free: 13.01 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 preOpt removeSimpleEquations (simulation): time 0.007067/0.2282, allocations: 3.735 MB / 0.6901 GB, free: 9.094 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003527/0.2318, allocations: 1.6 MB / 0.6916 GB, free: 7.371 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001628/0.2334, allocations: 0.6518 MB / 0.6923 GB, free: 6.715 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001208/0.2335, allocations: 20.97 kB / 0.6923 GB, free: 6.695 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.731e-05/0.2336, allocations: 43.56 kB / 0.6923 GB, free: 6.645 MB / 494.1 MB Notification: Performance of pre-optimization done (n=103): time 4.107e-06/0.2336, allocations: 0 / 0.6923 GB, free: 6.645 MB / 494.1 MB Notification: Performance of matching and sorting (n=103): time 0.02321/0.2568, allocations: 5.577 MB / 0.6978 GB, free: 1.031 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.211e-05/0.2568, allocations: 60.41 kB / 0.6978 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3115/0.5683, allocations: 1.272 MB / 0.6991 GB, free: 35.5 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003564/0.5687, allocations: 55.02 kB / 0.6991 GB, free: 35.47 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003442/0.569, allocations: 478.9 kB / 0.6996 GB, free: 35.38 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000418/0.5694, allocations: 413 kB / 0.7 GB, free: 35.24 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000694/0.5701, allocations: 385.8 kB / 0.7003 GB, free: 35.21 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.51e-05/0.5702, allocations: 302.6 kB / 0.7006 GB, free: 34.91 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002178/0.5724, allocations: 0.9431 MB / 0.7015 GB, free: 34.91 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002306/0.5747, allocations: 1.109 MB / 0.7026 GB, free: 34.82 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004236/0.5789, allocations: 1.93 MB / 0.7045 GB, free: 34.5 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.389e-05/0.5789, allocations: 7.828 kB / 0.7045 GB, free: 34.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=256) (initialization): time 0.007633/0.5865, allocations: 3.01 MB / 0.7075 GB, free: 33.35 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.825e-05/0.5866, allocations: 5.594 kB / 0.7075 GB, free: 33.35 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/0.5866, allocations: 5.812 kB / 0.7075 GB, free: 33.35 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01001/0.5966, allocations: 2.272 MB / 0.7097 GB, free: 33.09 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002119/0.5987, allocations: 360.3 kB / 0.71 GB, free: 33.06 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005818/0.6045, allocations: 2.277 MB / 0.7123 GB, free: 31.91 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00251/0.607, allocations: 221.7 kB / 0.7125 GB, free: 31.84 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001741/0.6072, allocations: 66.45 kB / 0.7125 GB, free: 31.82 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.0005532/0.6078, allocations: 263.9 kB / 0.7128 GB, free: 31.6 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000283/0.6081, allocations: 145.6 kB / 0.7129 GB, free: 31.52 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01168/0.6197, allocations: 3.316 MB / 0.7162 GB, free: 30.68 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.129e-05/0.6198, allocations: 11.73 kB / 0.7162 GB, free: 30.68 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/0.6198, allocations: 4.781 kB / 0.7162 GB, free: 30.68 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.548e-05/0.6198, allocations: 9.812 kB / 0.7162 GB, free: 30.68 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.0135/0.6333, allocations: 4.997 MB / 0.7211 GB, free: 28.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.279e-05/0.6333, allocations: 3.469 kB / 0.7211 GB, free: 28.82 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008783/0.6342, allocations: 129.4 kB / 0.7212 GB, free: 28.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005468/0.6396, allocations: 1.446 MB / 0.7226 GB, free: 28.54 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001858/0.6398, allocations: 21.81 kB / 0.7226 GB, free: 28.53 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01851/0.6583, allocations: 7.841 MB / 0.7303 GB, free: 23.95 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.6583, allocations: 1.531 kB / 0.7303 GB, free: 23.95 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01203/0.6704, allocations: 4.214 MB / 0.7344 GB, free: 21.8 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005375/0.6709, allocations: 262.7 kB / 0.7346 GB, free: 21.57 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001821/0.6711, allocations: 16.03 kB / 0.7347 GB, free: 21.56 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001248/0.6723, allocations: 99.86 kB / 0.7348 GB, free: 21.52 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005183/0.6729, allocations: 193.4 kB / 0.7349 GB, free: 21.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.746e-05/0.6729, allocations: 25.34 kB / 0.735 GB, free: 21.39 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0009473/0.6739, allocations: 0.8497 MB / 0.7358 GB, free: 20.86 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6739, allocations: 0 / 0.7358 GB, free: 20.86 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00119/0.6751, allocations: 483.4 kB / 0.7363 GB, free: 20.4 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.01098/0.6861, allocations: 4.678 MB / 0.7408 GB, free: 15.7 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00664/0.6927, allocations: 2.292 MB / 0.7431 GB, free: 13.41 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.6927, allocations: 0 / 0.7431 GB, free: 13.41 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003855/0.6966, allocations: 1.301 MB / 0.7443 GB, free: 12.1 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001097/0.6976, allocations: 98.64 kB / 0.7444 GB, free: 12 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02559/0.7232, allocations: 14.64 MB / 0.7587 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007951/0.724, allocations: 1.112 MB / 0.7598 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005364/0.7246, allocations: 124.6 kB / 0.7599 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007869/0.7254, allocations: 0.4893 MB / 0.7604 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of SimCode: time 1.022e-06/0.7254, allocations: 0 / 0.7604 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07745/0.8028, allocations: 36.72 MB / 0.7963 GB, free: 6.973 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.58/15.38, allocations: 4.062 kB / 0.7963 GB, free: 6.969 MB / 0.5294 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.195317256031558] Failed to read output from testmodel.py, exit status != 0: 15.552245407016017 15.575870537 15.3772362 Calling exit ...