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.002204/0.002204, allocations: 105.4 kB / 16.45 MB, free: 6.453 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.467/1.467, allocations: 230.6 MB / 249.8 MB, free: 9.23 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.001831/0.001831, allocations: 208.2 kB / 306 MB, free: 4.297 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.5942/0.5942, allocations: 101.3 MB / 463.4 MB, free: 11.88 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.002815/0.002815, allocations: 87.88 kB / 0.6193 GB, free: 15.53 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1611, allocations: 78.56 MB / 0.696 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system): time 0.3375/0.4986, allocations: 7.025 MB / 0.7029 GB, free: 4.738 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005145/0.5037, allocations: 2.329 MB / 0.7052 GB, free: 3.113 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001507/0.5053, allocations: 8.938 kB / 0.7052 GB, free: 3.113 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007963/0.5061, allocations: 252.8 kB / 0.7054 GB, free: 2.98 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003057/0.5091, allocations: 1.026 MB / 0.7064 GB, free: 2.324 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001293/0.5104, allocations: 0.5901 MB / 0.707 GB, free: 2.035 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003076/0.5135, allocations: 1.863 MB / 0.7088 GB, free: 1.152 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000426/0.5139, allocations: 175.6 kB / 0.709 GB, free: 1.055 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001475/0.5154, allocations: 0.7744 MB / 0.7097 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001506/0.5169, allocations: 1.019 MB / 0.7107 GB, free: 232 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002676/0.5172, allocations: 158 kB / 0.7109 GB, free: 232 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000779/0.5179, allocations: 338.4 kB / 0.7112 GB, free: 172 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003958/0.5183, allocations: 400.9 kB / 0.7116 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008623/0.5192, allocations: 0.7615 MB / 0.7123 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003039/0.5222, allocations: 1.893 MB / 0.7142 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.5222, allocations: 0 / 0.7142 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.054e-06/0.5222, allocations: 0 / 0.7142 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.065e-05/0.5223, allocations: 0 / 0.7142 GB, free: 14.58 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.01441/0.5367, allocations: 3.383 MB / 0.7175 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.5367, allocations: 14.91 kB / 0.7175 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002045/0.537, allocations: 118 kB / 0.7176 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003631/0.5406, allocations: 0.5297 MB / 0.7181 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00246/0.543, allocations: 0.9823 MB / 0.7191 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003973/0.5434, allocations: 234.6 kB / 0.7193 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002885/0.5437, allocations: 91.64 kB / 0.7194 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002717/0.5464, allocations: 0.9936 MB / 0.7204 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.5465, allocations: 4.688 kB / 0.7204 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001024/0.5466, allocations: 30.22 kB / 0.7204 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.26e-05/0.5466, allocations: 18.05 kB / 0.7204 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003171/0.5498, allocations: 1.115 MB / 0.7215 GB, free: 11.36 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.009816/0.5596, allocations: 3.753 MB / 0.7252 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00392/0.5635, allocations: 1.619 MB / 0.7267 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001775/0.5653, allocations: 0.6671 MB / 0.7274 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001412/0.5654, allocations: 16.33 kB / 0.7274 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.737e-05/0.5655, allocations: 43.03 kB / 0.7275 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=105): time 3.737e-06/0.5655, allocations: 0 / 0.7275 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of matching and sorting (n=105): time 0.03014/0.5956, allocations: 6.496 MB / 0.7338 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.162e-05/0.5957, allocations: 66.11 kB / 0.7339 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00312/0.5988, allocations: 1.275 MB / 0.7351 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005025/0.5993, allocations: 52.14 kB / 0.7352 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006708/0.6, allocations: 482.4 kB / 0.7356 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008692/0.6008, allocations: 421.3 kB / 0.736 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001388/0.6022, allocations: 385.9 kB / 0.7364 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.6024, allocations: 301.1 kB / 0.7367 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002396/0.6048, allocations: 0.9538 MB / 0.7376 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002517/0.6073, allocations: 1.129 MB / 0.7387 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004642/0.6119, allocations: 1.964 MB / 0.7406 GB, free: 188 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.077e-05/0.6119, allocations: 1 kB / 0.7406 GB, free: 188 kB / 0.4981 GB Notification: Performance of matching and sorting (n=258) (initialization): time 0.009283/0.6212, allocations: 3.293 MB / 0.7438 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.02e-05/0.6213, allocations: 12.28 kB / 0.7439 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/0.6213, allocations: 2.094 kB / 0.7439 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01013/0.6314, allocations: 2.328 MB / 0.7461 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002002/0.6334, allocations: 360 kB / 0.7465 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006129/0.6395, allocations: 2.305 MB / 0.7487 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002775/0.6423, allocations: 230.6 kB / 0.7489 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003008/0.6426, allocations: 67.97 kB / 0.749 GB, free: 11.44 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.0006512/0.6433, allocations: 270.5 kB / 0.7493 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000446/0.6437, allocations: 139.1 kB / 0.7494 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01224/0.6559, allocations: 3.385 MB / 0.7527 GB, free: 7.625 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-05/0.656, allocations: 12 kB / 0.7527 GB, free: 7.613 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/0.656, allocations: 0 / 0.7527 GB, free: 7.613 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.974e-05/0.656, allocations: 14.88 kB / 0.7527 GB, free: 7.602 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.01564/0.6717, allocations: 5.109 MB / 0.7577 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.666e-05/0.6717, allocations: 3.938 kB / 0.7577 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001015/0.6727, allocations: 131.8 kB / 0.7579 GB, free: 2.23 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006569/0.6793, allocations: 1.497 MB / 0.7593 GB, free: 0.7305 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003062/0.6796, allocations: 23.98 kB / 0.7593 GB, free: 0.707 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02262/0.7022, allocations: 8.002 MB / 0.7672 GB, free: 8.555 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.7022, allocations: 0 / 0.7672 GB, free: 8.555 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01497/0.7171, allocations: 4.326 MB / 0.7714 GB, free: 4.211 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007919/0.7179, allocations: 255.8 kB / 0.7716 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003461/0.7183, allocations: 20 kB / 0.7716 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001451/0.7197, allocations: 99.88 kB / 0.7717 GB, free: 3.824 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006348/0.7204, allocations: 184.8 kB / 0.7719 GB, free: 3.641 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.604e-05/0.7205, allocations: 27.98 kB / 0.7719 GB, free: 3.613 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001349/0.7218, allocations: 0.8434 MB / 0.7728 GB, free: 2.766 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7218, allocations: 4 kB / 0.7728 GB, free: 2.762 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00175/0.7236, allocations: 483.7 kB / 0.7732 GB, free: 2.289 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.01479/0.7383, allocations: 4.801 MB / 0.7779 GB, free: 13.45 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.009036/0.7474, allocations: 2.32 MB / 0.7802 GB, free: 11.13 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.745e-06/0.7474, allocations: 4 kB / 0.7802 GB, free: 11.13 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005411/0.7528, allocations: 1.337 MB / 0.7815 GB, free: 9.781 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001929/0.7547, allocations: 108.7 kB / 0.7816 GB, free: 9.672 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04072/0.7954, allocations: 15.13 MB / 0.7964 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001074/0.7965, allocations: 1.113 MB / 0.7975 GB, free: 9.199 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008823/0.7974, allocations: 124.8 kB / 0.7976 GB, free: 9.074 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001232/0.7986, allocations: 0.4993 MB / 0.7981 GB, free: 8.574 MB / 0.5606 GB Notification: Performance of SimCode: time 8.92e-07/0.7986, allocations: 0 / 0.7981 GB, free: 8.574 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09345/0.8921, allocations: 36.82 MB / 0.834 GB, free: 3.949 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.48/16.38, allocations: 2.922 kB / 0.834 GB, free: 3.949 MB / 0.5919 GB " [Timeout remaining time 644] (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.01874195691198] Failed to read output from testmodel.py, exit status != 0: 16.492137539898977 16.511138062 15.984832783 Calling exit ...