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.001394/0.001394, allocations: 107.6 kB / 18.95 MB, free: 2.809 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.433/1.433, allocations: 230.6 MB / 252.7 MB, free: 8.086 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.001677/0.001677, allocations: 210.2 kB / 309.2 MB, free: 2.973 MB / 238.1 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.5895/0.5895, allocations: 107.2 MB / 472.8 MB, free: 4.508 MB / 334.1 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.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: 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.002532/0.002532, allocations: 83.88 kB / 0.633 GB, free: 5.023 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4824/0.485, allocations: 80.15 MB / 0.7113 GB, free: 4.25 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system): time 0.006125/0.4911, allocations: 6.136 MB / 0.7173 GB, free: 64 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004974/0.496, allocations: 2.218 MB / 0.7195 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006126/0.4967, allocations: 8.531 kB / 0.7195 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000656/0.4973, allocations: 257.3 kB / 0.7197 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002494/0.4998, allocations: 0.9886 MB / 0.7207 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001381/0.5012, allocations: 0.5816 MB / 0.7212 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002187/0.5034, allocations: 1.844 MB / 0.723 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003553/0.5037, allocations: 166.4 kB / 0.7232 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001135/0.5049, allocations: 0.7731 MB / 0.724 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001305/0.5062, allocations: 0.9281 MB / 0.7249 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000258/0.5064, allocations: 157.3 kB / 0.725 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006536/0.5071, allocations: 329.5 kB / 0.7253 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004018/0.5075, allocations: 394.3 kB / 0.7257 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006884/0.5082, allocations: 0.644 MB / 0.7263 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002563/0.5107, allocations: 1.896 MB / 0.7282 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.5107, allocations: 0 / 0.7282 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.894e-06/0.5107, allocations: 4.625 kB / 0.7282 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.414e-05/0.5108, allocations: 0 / 0.7282 GB, free: 10.29 MB / 0.4981 GB 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.01396/0.5247, allocations: 3.315 MB / 0.7314 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/0.5248, allocations: 8.656 kB / 0.7314 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001905/0.525, allocations: 118.1 kB / 0.7315 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003347/0.5283, allocations: 0.536 MB / 0.7321 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002/0.5303, allocations: 0.9136 MB / 0.733 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003983/0.5307, allocations: 287.5 kB / 0.7332 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002074/0.5309, allocations: 91.52 kB / 0.7333 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002412/0.5333, allocations: 0.9915 MB / 0.7343 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.045e-05/0.5334, allocations: 0 / 0.7343 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.574e-05/0.5335, allocations: 26.66 kB / 0.7343 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.187e-05/0.5335, allocations: 15.75 kB / 0.7343 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002875/0.5364, allocations: 1.111 MB / 0.7354 GB, free: 6.414 MB / 0.4981 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.006737/0.5431, allocations: 2.739 MB / 0.7381 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003147/0.5462, allocations: 1.157 MB / 0.7392 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001603/0.5478, allocations: 0.6588 MB / 0.7399 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001077/0.548, allocations: 19.98 kB / 0.7399 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.542e-05/0.548, allocations: 45 kB / 0.7399 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=105): time 3.456e-06/0.548, allocations: 0 / 0.7399 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of matching and sorting (n=105): time 0.02784/0.5758, allocations: 6.422 MB / 0.7462 GB, free: 400 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.498e-05/0.5759, allocations: 66.16 kB / 0.7463 GB, free: 328 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00253/0.5784, allocations: 1.287 MB / 0.7475 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003722/0.5788, allocations: 51.64 kB / 0.7476 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004827/0.5793, allocations: 486.4 kB / 0.748 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005638/0.5798, allocations: 413.5 kB / 0.7484 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007715/0.5806, allocations: 385.8 kB / 0.7488 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.5808, allocations: 302.3 kB / 0.7491 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002571/0.5833, allocations: 0.9572 MB / 0.75 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003739/0.5871, allocations: 1.121 MB / 0.7511 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006103/0.5932, allocations: 1.954 MB / 0.753 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.169e-05/0.5932, allocations: 1.281 kB / 0.753 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of matching and sorting (n=258) (initialization): time 0.008807/0.602, allocations: 3.289 MB / 0.7562 GB, free: 9.02 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.783e-05/0.602, allocations: 8 kB / 0.7562 GB, free: 9.012 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.602, allocations: 8.125 kB / 0.7562 GB, free: 9.004 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00949/0.6115, allocations: 2.331 MB / 0.7585 GB, free: 6.668 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001866/0.6134, allocations: 355.5 kB / 0.7589 GB, free: 6.32 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005725/0.6191, allocations: 2.304 MB / 0.7611 GB, free: 3.992 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002618/0.6217, allocations: 226.7 kB / 0.7613 GB, free: 3.77 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002022/0.6219, allocations: 67.98 kB / 0.7614 GB, free: 3.703 MB / 0.5137 GB 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.0006455/0.6226, allocations: 265.5 kB / 0.7616 GB, free: 3.434 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003382/0.6229, allocations: 143.1 kB / 0.7618 GB, free: 3.293 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01159/0.6345, allocations: 3.396 MB / 0.7651 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.407e-05/0.6345, allocations: 8 kB / 0.7651 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.6345, allocations: 0 / 0.7651 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.046e-05/0.6346, allocations: 7.969 kB / 0.7651 GB, free: 15.87 MB / 0.5294 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 postOpt removeSimpleEquations (simulation): time 0.01535/0.6499, allocations: 4.449 MB / 0.7695 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.165e-05/0.6499, allocations: 0 / 0.7695 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001284/0.6512, allocations: 143.8 kB / 0.7696 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007467/0.6587, allocations: 1.488 MB / 0.771 GB, free: 9.73 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001749/0.6588, allocations: 23.98 kB / 0.7711 GB, free: 9.707 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02162/0.6805, allocations: 7.713 MB / 0.7786 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/0.6805, allocations: 8 kB / 0.7786 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01491/0.6954, allocations: 4.326 MB / 0.7828 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008095/0.6962, allocations: 182.7 kB / 0.783 GB, free: 13.34 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005515/0.6967, allocations: 24 kB / 0.783 GB, free: 13.31 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001792/0.6985, allocations: 95.89 kB / 0.7831 GB, free: 13.22 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006935/0.6992, allocations: 196.6 kB / 0.7833 GB, free: 13.03 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001247/0.6993, allocations: 28 kB / 0.7833 GB, free: 13 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00176/0.7011, allocations: 0.8434 MB / 0.7842 GB, free: 12.15 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7011, allocations: 0 / 0.7842 GB, free: 12.15 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002115/0.7032, allocations: 487.7 kB / 0.7846 GB, free: 11.68 MB / 0.545 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 (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.01419/0.7174, allocations: 4.791 MB / 0.7893 GB, free: 6.855 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008338/0.7257, allocations: 2.332 MB / 0.7916 GB, free: 4.523 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.7257, allocations: 4 kB / 0.7916 GB, free: 4.52 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004936/0.7307, allocations: 1.329 MB / 0.7929 GB, free: 3.18 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001821/0.7325, allocations: 104.7 kB / 0.793 GB, free: 3.074 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03727/0.7698, allocations: 15.13 MB / 0.8078 GB, free: 3.73 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006478/0.7704, allocations: 0.5215 MB / 0.8083 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006296/0.771, allocations: 124.9 kB / 0.8084 GB, free: 3.047 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009284/0.772, allocations: 0.4993 MB / 0.8089 GB, free: 2.547 MB / 0.5606 GB Notification: Performance of SimCode: time 1.262e-06/0.772, allocations: 0 / 0.8089 GB, free: 2.547 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08698/0.8589, allocations: 37.55 MB / 0.8455 GB, free: 13.17 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.07/14.93, allocations: 9.094 kB / 0.8456 GB, free: 13.16 MB / 0.6075 GB " [Timeout remaining time 645] (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: 18.553862405009568] Failed to read output from testmodel.py, exit status != 0: 15.069706325884908 15.085781608 14.571978714 Calling exit ...