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.001744/0.001744, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.545/1.545, allocations: 230.6 MB / 253.4 MB, free: 14.46 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.001788/0.001788, allocations: 212.8 kB / 310 MB, free: 3.141 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.5069/0.5069, allocations: 79.74 MB / 446.2 MB, free: 38.77 MB / 350.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.002462/0.002462, allocations: 82.22 kB / 0.5937 GB, free: 38.91 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1456, allocations: 73.29 MB / 0.6652 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system): time 0.008149/0.1537, allocations: 7.008 MB / 0.6721 GB, free: 11.21 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00535/0.159, allocations: 2.347 MB / 0.6744 GB, free: 8.914 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001124/0.1602, allocations: 8 kB / 0.6744 GB, free: 8.906 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007091/0.1609, allocations: 257.8 kB / 0.6746 GB, free: 8.652 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003587/0.1645, allocations: 1.302 MB / 0.6759 GB, free: 7.355 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001139/0.1656, allocations: 0.4929 MB / 0.6764 GB, free: 6.867 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00294/0.1685, allocations: 2.026 MB / 0.6784 GB, free: 4.836 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000408/0.169, allocations: 173.7 kB / 0.6785 GB, free: 4.656 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001194/0.1701, allocations: 0.7979 MB / 0.6793 GB, free: 3.855 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001324/0.1715, allocations: 1.051 MB / 0.6803 GB, free: 2.801 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002427/0.1717, allocations: 160 kB / 0.6805 GB, free: 2.645 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007133/0.1724, allocations: 339.8 kB / 0.6808 GB, free: 2.312 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003779/0.1728, allocations: 406.5 kB / 0.6812 GB, free: 1.914 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000764/0.1736, allocations: 0.777 MB / 0.682 GB, free: 1.133 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00245/0.176, allocations: 1.902 MB / 0.6838 GB, free: 15.22 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.176, allocations: 4 kB / 0.6838 GB, free: 15.22 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.176, allocations: 3.938 kB / 0.6838 GB, free: 15.21 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.746e-05/0.1761, allocations: 4 kB / 0.6838 GB, free: 15.21 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.01573/0.1918, allocations: 3.861 MB / 0.6876 GB, free: 11.31 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/0.1918, allocations: 8.031 kB / 0.6876 GB, free: 11.3 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.988e-05/0.1919, allocations: 17.5 kB / 0.6876 GB, free: 11.29 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001615/0.192, allocations: 122.7 kB / 0.6877 GB, free: 11.16 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003082/0.1951, allocations: 0.5186 MB / 0.6883 GB, free: 10.64 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00167/0.1968, allocations: 0.9287 MB / 0.6892 GB, free: 9.672 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000364/0.1971, allocations: 294.3 kB / 0.6894 GB, free: 9.336 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001918/0.1973, allocations: 92 kB / 0.6895 GB, free: 9.246 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002297/0.1996, allocations: 0.9755 MB / 0.6905 GB, free: 8.262 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/0.1997, allocations: 0 / 0.6905 GB, free: 8.262 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.877e-05/0.1998, allocations: 28 kB / 0.6905 GB, free: 8.234 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.854e-05/0.1998, allocations: 19.94 kB / 0.6905 GB, free: 8.215 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002725/0.2025, allocations: 1.085 MB / 0.6916 GB, free: 7.133 MB / 478.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.006772/0.2093, allocations: 3.701 MB / 0.6952 GB, free: 3.262 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00321/0.2125, allocations: 1.144 MB / 0.6963 GB, free: 2.109 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001582/0.2141, allocations: 0.6479 MB / 0.6969 GB, free: 1.461 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001054/0.2142, allocations: 24.92 kB / 0.697 GB, free: 1.438 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.876e-05/0.2142, allocations: 39.56 kB / 0.697 GB, free: 1.387 MB / 478.1 MB Notification: Performance of pre-optimization done (n=103): time 3.186e-06/0.2142, allocations: 0 / 0.697 GB, free: 1.387 MB / 478.1 MB Notification: Performance of matching and sorting (n=103): time 0.02339/0.2376, allocations: 5.5 MB / 0.7024 GB, free: 11.87 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.164e-05/0.2377, allocations: 64.41 kB / 0.7024 GB, free: 11.79 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002558/0.2402, allocations: 1.283 MB / 0.7037 GB, free: 10.5 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003003/0.2405, allocations: 45.7 kB / 0.7037 GB, free: 10.45 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006453/0.2412, allocations: 486.2 kB / 0.7042 GB, free: 9.969 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006425/0.2418, allocations: 416.5 kB / 0.7046 GB, free: 9.559 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00121/0.243, allocations: 383.4 kB / 0.705 GB, free: 9.176 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.2432, allocations: 305.1 kB / 0.7053 GB, free: 8.875 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002459/0.2456, allocations: 0.9409 MB / 0.7062 GB, free: 7.93 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002555/0.2482, allocations: 1.117 MB / 0.7073 GB, free: 6.781 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004592/0.2528, allocations: 1.927 MB / 0.7091 GB, free: 4.832 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.198e-05/0.2528, allocations: 3.938 kB / 0.7092 GB, free: 4.828 MB / 494.1 MB Notification: Performance of matching and sorting (n=256) (initialization): time 0.008251/0.261, allocations: 3.001 MB / 0.7121 GB, free: 1.816 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.327e-05/0.2611, allocations: 13.5 kB / 0.7121 GB, free: 1.805 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.613e-05/0.2611, allocations: 0 / 0.7121 GB, free: 1.805 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009582/0.2707, allocations: 2.28 MB / 0.7143 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001991/0.2727, allocations: 351.5 kB / 0.7147 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005845/0.2785, allocations: 2.273 MB / 0.7169 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002478/0.281, allocations: 226.8 kB / 0.7171 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00036/0.2813, allocations: 71.97 kB / 0.7172 GB, free: 12.59 MB / 0.4981 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 (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.0008138/0.2822, allocations: 265.5 kB / 0.7174 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004801/0.2826, allocations: 139.1 kB / 0.7175 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0117/0.2943, allocations: 3.314 MB / 0.7208 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.129e-05/0.2944, allocations: 12 kB / 0.7208 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.2944, allocations: 0 / 0.7208 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.739e-05/0.2944, allocations: 11.97 kB / 0.7208 GB, free: 8.832 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 postOpt removeSimpleEquations (simulation): time 0.01481/0.3092, allocations: 4.972 MB / 0.7257 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.284e-05/0.3092, allocations: 0 / 0.7257 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008872/0.3101, allocations: 131.8 kB / 0.7258 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005773/0.3159, allocations: 1.434 MB / 0.7272 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002057/0.3161, allocations: 27.98 kB / 0.7272 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02115/0.3372, allocations: 7.747 MB / 0.7348 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.3372, allocations: 3.938 kB / 0.7348 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01409/0.3513, allocations: 4.205 MB / 0.7389 GB, free: 6.039 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007007/0.352, allocations: 190.7 kB / 0.7391 GB, free: 5.852 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005371/0.3526, allocations: 16.11 kB / 0.7391 GB, free: 5.836 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001687/0.3543, allocations: 95.84 kB / 0.7392 GB, free: 5.742 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007217/0.355, allocations: 192.6 kB / 0.7394 GB, free: 5.551 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001414/0.3551, allocations: 28 kB / 0.7394 GB, free: 5.523 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001712/0.3568, allocations: 0.8472 MB / 0.7402 GB, free: 4.672 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.3568, allocations: 0 / 0.7402 GB, free: 4.672 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001958/0.3588, allocations: 483.7 kB / 0.7407 GB, free: 4.199 MB / 0.5137 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 (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.0142/0.373, allocations: 4.691 MB / 0.7453 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008316/0.3813, allocations: 2.277 MB / 0.7475 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/0.3813, allocations: 0 / 0.7475 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004682/0.386, allocations: 1.297 MB / 0.7488 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001671/0.3877, allocations: 96.75 kB / 0.7488 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03564/0.4233, allocations: 14.66 MB / 0.7632 GB, free: 12.93 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001016/0.4243, allocations: 1.116 MB / 0.7642 GB, free: 11.79 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006279/0.4249, allocations: 124.7 kB / 0.7644 GB, free: 11.66 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009568/0.4259, allocations: 0.4915 MB / 0.7648 GB, free: 11.17 MB / 0.545 GB Notification: Performance of SimCode: time 1.022e-06/0.4259, allocations: 0 / 0.7648 GB, free: 11.17 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08859/0.5145, allocations: 37.71 MB / 0.8017 GB, free: 5.602 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.55/16.07, allocations: 18.11 kB / 0.8017 GB, free: 5.59 MB / 0.5762 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: 20.310820634942502] Failed to read output from testmodel.py, exit status != 0: 16.262697334983386 16.540154917 16.361572187 Calling exit ...