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.001361/0.001361, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.583/1.583, allocations: 230.6 MB / 252.7 MB, free: 14.26 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.001745/0.001745, allocations: 210.2 kB / 309.2 MB, free: 3.109 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.683/0.683, allocations: 107.3 MB / 473 MB, free: 29.79 MB / 350.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.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.002525/0.002525, allocations: 82.86 kB / 0.6332 GB, free: 29.67 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.1734, allocations: 80.18 MB / 0.7115 GB, free: 7.59 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system): time 0.007946/0.1814, allocations: 6.133 MB / 0.7175 GB, free: 1.422 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005181/0.1866, allocations: 2.216 MB / 0.7197 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008156/0.1874, allocations: 12 kB / 0.7197 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006637/0.188, allocations: 253.8 kB / 0.7199 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002633/0.1907, allocations: 0.9897 MB / 0.7209 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001268/0.1919, allocations: 0.5862 MB / 0.7214 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002182/0.1941, allocations: 1.847 MB / 0.7233 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003587/0.1945, allocations: 169.7 kB / 0.7234 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001032/0.1955, allocations: 0.7744 MB / 0.7242 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001178/0.1967, allocations: 0.9179 MB / 0.7251 GB, free: 9.637 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002596/0.197, allocations: 156 kB / 0.7252 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007068/0.1977, allocations: 323.8 kB / 0.7255 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003611/0.198, allocations: 410.4 kB / 0.7259 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006354/0.1987, allocations: 0.6373 MB / 0.7265 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002219/0.2009, allocations: 1.899 MB / 0.7284 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.2009, allocations: 0 / 0.7284 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2009, allocations: 0 / 0.7284 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.845e-05/0.2009, allocations: 0 / 0.7284 GB, free: 6.219 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.01247/0.2134, allocations: 3.314 MB / 0.7316 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/0.2134, allocations: 11.97 kB / 0.7316 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001677/0.2136, allocations: 122.7 kB / 0.7318 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003188/0.2168, allocations: 0.5344 MB / 0.7323 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001837/0.2186, allocations: 0.9171 MB / 0.7332 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003671/0.219, allocations: 290.3 kB / 0.7334 GB, free: 0.9023 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001904/0.2192, allocations: 88 kB / 0.7335 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002286/0.2215, allocations: 0.9988 MB / 0.7345 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.1e-05/0.2215, allocations: 0 / 0.7345 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.625e-05/0.2216, allocations: 24 kB / 0.7345 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.226e-05/0.2216, allocations: 20 kB / 0.7346 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002737/0.2243, allocations: 1.109 MB / 0.7356 GB, free: 14.66 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 preOpt removeSimpleEquations (simulation): time 0.006681/0.231, allocations: 2.739 MB / 0.7383 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003142/0.2342, allocations: 1.157 MB / 0.7394 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001578/0.2357, allocations: 0.6596 MB / 0.7401 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001041/0.2358, allocations: 20.98 kB / 0.7401 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.807e-05/0.2359, allocations: 39.56 kB / 0.7401 GB, free: 9.98 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=105): time 3.597e-06/0.2359, allocations: 0 / 0.7401 GB, free: 9.98 MB / 0.5137 GB Notification: Performance of matching and sorting (n=105): time 0.02699/0.2629, allocations: 6.424 MB / 0.7464 GB, free: 3.543 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.027e-05/0.2629, allocations: 64.41 kB / 0.7465 GB, free: 3.465 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002213/0.2652, allocations: 1.283 MB / 0.7477 GB, free: 2.172 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003522/0.2655, allocations: 49.7 kB / 0.7478 GB, free: 2.117 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004488/0.266, allocations: 482.3 kB / 0.7482 GB, free: 1.641 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005028/0.2665, allocations: 412.5 kB / 0.7486 GB, free: 1.234 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006666/0.2671, allocations: 387.4 kB / 0.749 GB, free: 0.8477 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.2673, allocations: 305.1 kB / 0.7493 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002197/0.2695, allocations: 0.9566 MB / 0.7502 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00236/0.2718, allocations: 1.125 MB / 0.7513 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004273/0.2761, allocations: 1.954 MB / 0.7532 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.203e-06/0.2761, allocations: 0 / 0.7532 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of matching and sorting (n=258) (initialization): time 0.008289/0.2844, allocations: 3.286 MB / 0.7564 GB, free: 9.148 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.886e-05/0.2844, allocations: 4 kB / 0.7564 GB, free: 9.145 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/0.2844, allocations: 4.172 kB / 0.7564 GB, free: 9.141 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009445/0.2939, allocations: 2.327 MB / 0.7587 GB, free: 6.809 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00197/0.2958, allocations: 355.5 kB / 0.7591 GB, free: 6.461 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005664/0.3015, allocations: 2.304 MB / 0.7613 GB, free: 4.129 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002431/0.3039, allocations: 238.6 kB / 0.7615 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000169/0.3041, allocations: 63.98 kB / 0.7616 GB, free: 3.832 MB / 0.5294 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.0005695/0.3047, allocations: 269.5 kB / 0.7619 GB, free: 3.559 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002713/0.305, allocations: 139.1 kB / 0.762 GB, free: 3.422 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01154/0.3165, allocations: 3.389 MB / 0.7653 GB, free: 20 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.663e-05/0.3165, allocations: 19.94 kB / 0.7653 GB, free: 0 / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.582e-05/0.3165, allocations: 64 / 0.7653 GB, free: 16 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.761e-05/0.3166, allocations: 7.969 kB / 0.7653 GB, free: 15.99 MB / 0.545 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.01396/0.3305, allocations: 4.453 MB / 0.7697 GB, free: 11.48 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-05/0.3306, allocations: 0 / 0.7697 GB, free: 11.48 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008989/0.3315, allocations: 139.8 kB / 0.7698 GB, free: 11.34 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005849/0.3373, allocations: 1.496 MB / 0.7713 GB, free: 9.84 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002139/0.3375, allocations: 24 kB / 0.7713 GB, free: 9.816 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02192/0.3594, allocations: 7.709 MB / 0.7788 GB, free: 1.988 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.3594, allocations: 4 kB / 0.7788 GB, free: 1.984 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01396/0.3734, allocations: 4.318 MB / 0.783 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006426/0.374, allocations: 182.7 kB / 0.7832 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004342/0.3745, allocations: 24 kB / 0.7832 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001565/0.376, allocations: 95.89 kB / 0.7833 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006491/0.3767, allocations: 188.6 kB / 0.7835 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001257/0.3768, allocations: 32 kB / 0.7835 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00149/0.3783, allocations: 0.8512 MB / 0.7844 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.3783, allocations: 0 / 0.7844 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001775/0.3801, allocations: 483.7 kB / 0.7848 GB, free: 11.8 MB / 0.5606 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.01389/0.394, allocations: 4.798 MB / 0.7895 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008287/0.4023, allocations: 2.328 MB / 0.7918 GB, free: 4.652 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.4023, allocations: 0 / 0.7918 GB, free: 4.652 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004816/0.4071, allocations: 1.329 MB / 0.7931 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001565/0.4086, allocations: 112.7 kB / 0.7932 GB, free: 3.199 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03671/0.4454, allocations: 15.14 MB / 0.808 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007022/0.4461, allocations: 0.5215 MB / 0.8085 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006506/0.4467, allocations: 120.9 kB / 0.8086 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009702/0.4477, allocations: 0.4993 MB / 0.8091 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of SimCode: time 9.02e-07/0.4477, allocations: 0 / 0.8091 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4703/0.918, allocations: 37.56 MB / 0.8458 GB, free: 79.69 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.46/16.38, allocations: 6.281 kB / 0.8458 GB, free: 79.68 MB / 0.5762 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.445091338828206] Failed to read output from testmodel.py, exit status != 0: 16.523071703035384 16.536139014 16.332735995 Calling exit ...