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.001364/0.001364, allocations: 109.4 kB / 18.94 MB, free: 2.949 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.457/1.457, allocations: 230.6 MB / 252.7 MB, free: 8.305 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.001616/0.001616, allocations: 216.9 kB / 309.2 MB, free: 3.152 MB / 238.1 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.5668/0.5668, allocations: 101.3 MB / 467 MB, free: 10.79 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.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: 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.002535/0.002535, allocations: 87.86 kB / 0.6244 GB, free: 12.99 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4599/0.4624, allocations: 78.6 MB / 0.7012 GB, free: 9.016 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system): time 0.01168/0.4741, allocations: 7.066 MB / 0.7081 GB, free: 4.125 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.007781/0.4819, allocations: 2.347 MB / 0.7104 GB, free: 2.48 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001801/0.4837, allocations: 8.375 kB / 0.7104 GB, free: 2.48 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001286/0.485, allocations: 258.6 kB / 0.7106 GB, free: 2.344 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005597/0.4906, allocations: 1.014 MB / 0.7116 GB, free: 1.688 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002307/0.4929, allocations: 0.5897 MB / 0.7122 GB, free: 1.387 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002886/0.4958, allocations: 1.862 MB / 0.714 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004881/0.4963, allocations: 169.7 kB / 0.7142 GB, free: 420 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001661/0.4979, allocations: 0.7743 MB / 0.7149 GB, free: 44 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002104/0.5, allocations: 1.027 MB / 0.7159 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006688/0.5007, allocations: 159.4 kB / 0.7161 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001288/0.502, allocations: 338.4 kB / 0.7164 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007854/0.5028, allocations: 398.3 kB / 0.7168 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001711/0.5045, allocations: 0.7647 MB / 0.7175 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003775/0.5083, allocations: 1.89 MB / 0.7194 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.5083, allocations: 0.6562 kB / 0.7194 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.984e-06/0.5083, allocations: 0 / 0.7194 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.313e-05/0.5083, allocations: 3.938 kB / 0.7194 GB, free: 13.92 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.01483/0.5232, allocations: 3.305 MB / 0.7226 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.5232, allocations: 12.28 kB / 0.7226 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004433/0.5237, allocations: 119.4 kB / 0.7227 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003808/0.5275, allocations: 0.5327 MB / 0.7232 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002793/0.5303, allocations: 0.9289 MB / 0.7242 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004473/0.5307, allocations: 286.8 kB / 0.7244 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004761/0.5312, allocations: 86.86 kB / 0.7245 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003136/0.5343, allocations: 0.9939 MB / 0.7255 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.448e-05/0.5343, allocations: 1.219 kB / 0.7255 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001517/0.5345, allocations: 30.52 kB / 0.7255 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.82e-05/0.5345, allocations: 16.59 kB / 0.7255 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003179/0.5377, allocations: 1.111 MB / 0.7266 GB, free: 10.8 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.009223/0.5469, allocations: 3.71 MB / 0.7302 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003407/0.5503, allocations: 1.171 MB / 0.7314 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001712/0.552, allocations: 0.6545 MB / 0.732 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001543/0.5522, allocations: 24.28 kB / 0.732 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.746e-05/0.5522, allocations: 40.12 kB / 0.7321 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=105): time 2.905e-06/0.5522, allocations: 0 / 0.7321 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of matching and sorting (n=105): time 0.02801/0.5802, allocations: 6.427 MB / 0.7384 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.267e-05/0.5803, allocations: 62.81 kB / 0.7384 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002357/0.5827, allocations: 1.274 MB / 0.7397 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004126/0.5831, allocations: 55.31 kB / 0.7397 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005163/0.5836, allocations: 482.3 kB / 0.7402 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000658/0.5842, allocations: 421.5 kB / 0.7406 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007962/0.585, allocations: 381.4 kB / 0.7409 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.5852, allocations: 310.3 kB / 0.7412 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002349/0.5875, allocations: 0.9493 MB / 0.7422 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002564/0.5901, allocations: 1.125 MB / 0.7433 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004829/0.5949, allocations: 1.961 MB / 0.7452 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.989e-06/0.5949, allocations: 0 / 0.7452 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of matching and sorting (n=258) (initialization): time 0.009408/0.6043, allocations: 3.288 MB / 0.7484 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.697e-05/0.6044, allocations: 12.81 kB / 0.7484 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.6044, allocations: 0.9688 kB / 0.7484 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01003/0.6144, allocations: 2.334 MB / 0.7507 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00206/0.6165, allocations: 356.2 kB / 0.751 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005948/0.6224, allocations: 2.304 MB / 0.7533 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002708/0.6251, allocations: 230.7 kB / 0.7535 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002371/0.6254, allocations: 71.98 kB / 0.7536 GB, free: 10.53 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.0006308/0.626, allocations: 264.3 kB / 0.7538 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003494/0.6263, allocations: 143.1 kB / 0.7539 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01187/0.6382, allocations: 3.389 MB / 0.7573 GB, free: 6.719 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.784e-05/0.6382, allocations: 15.98 kB / 0.7573 GB, free: 6.703 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.089e-05/0.6383, allocations: 0 / 0.7573 GB, free: 6.703 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.712e-05/0.6383, allocations: 11.92 kB / 0.7573 GB, free: 6.691 MB / 0.5137 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.01503/0.6533, allocations: 5.081 MB / 0.7622 GB, free: 1.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-05/0.6533, allocations: 0 / 0.7622 GB, free: 1.48 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009851/0.6543, allocations: 135.8 kB / 0.7624 GB, free: 1.348 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006071/0.6604, allocations: 1.489 MB / 0.7638 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002536/0.6607, allocations: 23.98 kB / 0.7638 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02188/0.6825, allocations: 7.904 MB / 0.7716 GB, free: 7.809 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.6825, allocations: 0 / 0.7716 GB, free: 7.809 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01478/0.6973, allocations: 4.331 MB / 0.7758 GB, free: 3.457 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006913/0.698, allocations: 178.7 kB / 0.776 GB, free: 3.281 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003878/0.6984, allocations: 19.98 kB / 0.776 GB, free: 3.262 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001523/0.6999, allocations: 103.9 kB / 0.7761 GB, free: 3.16 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006274/0.7005, allocations: 196.6 kB / 0.7763 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.244e-05/0.7006, allocations: 28 kB / 0.7763 GB, free: 2.941 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001422/0.7021, allocations: 0.8512 MB / 0.7771 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7021, allocations: 4 kB / 0.7771 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001722/0.7038, allocations: 483.7 kB / 0.7776 GB, free: 1.609 MB / 0.5294 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.718, allocations: 4.788 MB / 0.7823 GB, free: 12.79 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008465/0.7264, allocations: 2.324 MB / 0.7845 GB, free: 10.46 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/0.7264, allocations: 0 / 0.7845 GB, free: 10.46 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004776/0.7312, allocations: 1.333 MB / 0.7858 GB, free: 9.125 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001247/0.7325, allocations: 109.2 kB / 0.7859 GB, free: 9.016 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03534/0.7678, allocations: 15.14 MB / 0.8007 GB, free: 9.668 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008224/0.7686, allocations: 1.116 MB / 0.8018 GB, free: 8.52 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007152/0.7693, allocations: 124.8 kB / 0.8019 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009284/0.7703, allocations: 0.4993 MB / 0.8024 GB, free: 7.895 MB / 0.5606 GB Notification: Performance of SimCode: time 8.72e-07/0.7703, allocations: 0 / 0.8024 GB, free: 7.895 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09066/0.8609, allocations: 37.84 MB / 0.8394 GB, free: 2.199 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.6/16.46, allocations: 10.38 kB / 0.8394 GB, free: 2.191 MB / 0.5919 GB " [Timeout remaining time 643] (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 & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 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: 20.04223679599818] Failed to read output from testmodel.py, exit status != 0: 16.603725435998058 16.618738198 16.107260245 Calling exit ...