Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads.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.001298/0.001298, allocations: 110.6 kB / 17.17 MB, free: 5.887 MB / 14.72 MB " [Timeout remaining time 180] 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.002213/0.002213, allocations: 208 kB / 20.14 MB, free: 2.934 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.584/1.584, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo): time 0.0498/0.0498, allocations: 6.144 MB / 315.7 MB, free: 1.195 MB / 238.1 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/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 Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(PowerSysPro.Examples.DegradedModeForLoads,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_DegradedModeForLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.DegradedModeForLoads,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_DegradedModeForLoads",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001558/0.001558, allocations: 48.28 kB / 439.2 MB, free: 40.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1034, allocations: 54.99 MB / 494.2 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.DegradedModeForLoads): time 0.00234/0.1057, allocations: 1.43 MB / 495.7 MB, free: 9.078 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001632/0.1073, allocations: 1.505 MB / 497.2 MB, free: 7.559 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.598e-05/0.1074, allocations: 4 kB / 497.2 MB, free: 7.555 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003271/0.1078, allocations: 115.4 kB / 497.3 MB, free: 7.441 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005014/0.1083, allocations: 147.2 kB / 497.4 MB, free: 7.297 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001296/0.1096, allocations: 0.8986 MB / 498.3 MB, free: 6.395 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002285/0.1098, allocations: 191.2 kB / 498.5 MB, free: 6.207 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.1099, allocations: 37.83 kB / 498.5 MB, free: 6.168 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.865e-05/0.11, allocations: 83.69 kB / 498.6 MB, free: 6.086 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001359/0.1101, allocations: 103.6 kB / 498.7 MB, free: 5.984 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.68e-05/0.1101, allocations: 20 kB / 498.7 MB, free: 5.965 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003309/0.1105, allocations: 235.8 kB / 499 MB, free: 5.734 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.317e-05/0.1105, allocations: 35.89 kB / 499 MB, free: 5.699 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.445e-05/0.1106, allocations: 87.53 kB / 499.1 MB, free: 5.613 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003801/0.1109, allocations: 370.8 kB / 499.5 MB, free: 5.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1109, allocations: 4 kB / 499.5 MB, free: 5.246 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1109, allocations: 0 / 499.5 MB, free: 5.246 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.503e-06/0.111, allocations: 3.938 kB / 499.5 MB, free: 5.242 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.001971/0.1129, allocations: 0.7089 MB / 0.4884 GB, free: 4.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.113, allocations: 8.031 kB / 0.4885 GB, free: 4.473 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.021e-05/0.113, allocations: 50.73 kB / 0.4885 GB, free: 4.414 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.151e-05/0.1131, allocations: 24.8 kB / 0.4885 GB, free: 4.391 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002343/0.1133, allocations: 228.1 kB / 0.4887 GB, free: 4.129 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.498e-05/0.1134, allocations: 74.72 kB / 0.4888 GB, free: 4.047 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.864e-05/0.1134, allocations: 12.38 kB / 0.4888 GB, free: 4.035 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003374/0.1138, allocations: 225.9 kB / 0.489 GB, free: 3.809 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.1138, allocations: 0 / 0.489 GB, free: 3.809 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.532e-05/0.1138, allocations: 8 kB / 0.4891 GB, free: 3.801 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.1138, allocations: 4 kB / 0.4891 GB, free: 3.797 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003008/0.1141, allocations: 207.7 kB / 0.4893 GB, free: 3.594 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001266/0.1154, allocations: 0.901 MB / 0.4901 GB, free: 2.617 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005259/0.1159, allocations: 226.7 kB / 0.4903 GB, free: 2.387 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001537/0.116, allocations: 104.8 kB / 0.4904 GB, free: 2.281 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001035/0.1161, allocations: 81.11 kB / 0.4905 GB, free: 2.184 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003211/0.1165, allocations: 173.2 kB / 0.4907 GB, free: 2.004 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.553e-06/0.1165, allocations: 0 / 0.4907 GB, free: 2.004 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001678/0.1181, allocations: 0.6114 MB / 0.4913 GB, free: 1.367 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.052e-05/0.1182, allocations: 51.41 kB / 0.4913 GB, free: 1.305 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001446/0.1183, allocations: 187.8 kB / 0.4915 GB, free: 1.109 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.456e-05/0.1183, allocations: 29.7 kB / 0.4915 GB, free: 1.074 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.954e-05/0.1184, allocations: 124.4 kB / 0.4917 GB, free: 0.9492 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.301e-05/0.1184, allocations: 75.33 kB / 0.4917 GB, free: 0.875 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.82e-05/0.1185, allocations: 57.98 kB / 0.4918 GB, free: 0.8086 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.862e-05/0.1186, allocations: 330.8 kB / 0.4921 GB, free: 488 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001827/0.1187, allocations: 112.5 kB / 0.4922 GB, free: 376 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002285/0.119, allocations: 161.4 kB / 0.4924 GB, free: 200 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004198/0.1194, allocations: 288.2 kB / 0.4926 GB, free: 15.89 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.9e-06/0.1194, allocations: 3.938 kB / 0.4926 GB, free: 15.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001189/0.1206, allocations: 470.1 kB / 0.4931 GB, free: 15.42 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.1206, allocations: 4 kB / 0.4931 GB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.1206, allocations: 0 / 0.4931 GB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00101/0.1216, allocations: 192.6 kB / 0.4933 GB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000199/0.1218, allocations: 43.91 kB / 0.4933 GB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000851/0.1227, allocations: 0.7242 MB / 0.494 GB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002357/0.1229, allocations: 27.78 kB / 0.4941 GB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.951e-05/0.1229, allocations: 12.03 kB / 0.4941 GB, free: 14.4 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (load.degradedMode,$PRE.load.degradedMode,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 26 * 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 {(3,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001775/0.1231, allocations: 135.2 kB / 0.4942 GB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.196e-05/0.1232, allocations: 15.91 kB / 0.4942 GB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008693/0.124, allocations: 379.5 kB / 0.4946 GB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.124, allocations: 0 / 0.4946 GB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.124, allocations: 0 / 0.4946 GB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.124, allocations: 0 / 0.4946 GB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004127/0.1245, allocations: 349.1 kB / 0.4949 GB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.1245, allocations: 4 kB / 0.4949 GB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001134/0.1246, allocations: 19.98 kB / 0.4949 GB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000863/0.1254, allocations: 204.6 kB / 0.4951 GB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.276e-05/0.1255, allocations: 7.984 kB / 0.4951 GB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008684/0.1263, allocations: 0.728 MB / 0.4958 GB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1263, allocations: 0 / 0.4958 GB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008453/0.1272, allocations: 372.6 kB / 0.4962 GB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.906e-05/0.1272, allocations: 96.94 kB / 0.4963 GB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.603e-05/0.1273, allocations: 15.94 kB / 0.4963 GB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001745/0.1275, allocations: 11.98 kB / 0.4963 GB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.278e-05/0.1275, allocations: 16.08 kB / 0.4963 GB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.58e-05/0.1276, allocations: 19.97 kB / 0.4964 GB, free: 11.92 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000145/0.1277, allocations: 134.5 kB / 0.4965 GB, free: 11.79 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1277, allocations: 0 / 0.4965 GB, free: 11.79 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000328/0.128, allocations: 59.95 kB / 0.4965 GB, free: 11.73 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,load.degradedMode) * Number of discrete states: 1 (load.degradedMode) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * 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 {(4,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001186/0.1292, allocations: 0.9137 MB / 0.4974 GB, free: 10.79 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008274/0.1301, allocations: 303.3 kB / 0.4977 GB, free: 10.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1301, allocations: 0 / 0.4977 GB, free: 10.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005893/0.1306, allocations: 163.7 kB / 0.4979 GB, free: 10.34 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002612/0.1309, allocations: 21.39 kB / 0.4979 GB, free: 10.32 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004643/0.1355, allocations: 2.622 MB / 0.5005 GB, free: 7.586 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003929/0.1359, allocations: 0.721 MB / 0.5012 GB, free: 6.84 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000106/0.136, allocations: 25.53 kB / 0.5012 GB, free: 6.816 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/0.1361, allocations: 55.41 kB / 0.5012 GB, free: 6.762 MB / 366.1 MB Notification: Performance of SimCode: time 6.52e-07/0.1361, allocations: 0 / 0.5012 GB, free: 6.762 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03222/0.1684, allocations: 5.822 MB / 0.5069 GB, free: 1.043 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.32/12.49, allocations: 11.98 kB / 0.5069 GB, free: 1.031 MB / 366.1 MB " [Timeout remaining time 647] (rm -f PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads_res.csv --start-time 0 --stop-time 400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.16 PowerSysPro_PowerSysPro_Examples_DegradedModeForLoads.fmu > PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.507303993988899] Failed to read output from testmodel.py, exit status != 0: 12.589117812007316 12.613882189 12.498434971 Calling exit ...