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.001356/0.001356, allocations: 105 kB / 20.53 MB, free: 1.43 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.001493/0.001493, allocations: 212.2 kB / 23.83 MB, free: 4.641 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.454/1.454, allocations: 230.6 MB / 257.6 MB, free: 8.008 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.03989/0.03989, allocations: 6.132 MB / 320.2 MB, free: 12.94 MB / 254.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.DegradedModeForLoads,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_DegradedModeForLoads",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 51.92 kB / 445.3 MB, free: 5.348 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1085, allocations: 55.03 MB / 0.4886 GB, free: 14.21 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.DegradedModeForLoads): time 0.00278/0.1112, allocations: 1.438 MB / 0.49 GB, free: 12.78 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002332/0.1136, allocations: 1.509 MB / 0.4915 GB, free: 11.26 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.56e-05/0.1136, allocations: 4 kB / 0.4915 GB, free: 11.25 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003765/0.114, allocations: 111.3 kB / 0.4916 GB, free: 11.14 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004729/0.1145, allocations: 155.2 kB / 0.4917 GB, free: 10.99 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001744/0.1162, allocations: 0.9127 MB / 0.4926 GB, free: 10.08 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003118/0.1166, allocations: 187.2 kB / 0.4928 GB, free: 9.895 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.1167, allocations: 34.02 kB / 0.4928 GB, free: 9.859 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001031/0.1168, allocations: 83.7 kB / 0.4929 GB, free: 9.777 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001835/0.117, allocations: 107.6 kB / 0.493 GB, free: 9.672 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.115e-05/0.117, allocations: 16 kB / 0.493 GB, free: 9.656 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004297/0.1174, allocations: 235.8 kB / 0.4933 GB, free: 9.426 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.873e-05/0.1175, allocations: 39.84 kB / 0.4933 GB, free: 9.387 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.726e-05/0.1176, allocations: 91.52 kB / 0.4934 GB, free: 9.297 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005062/0.1181, allocations: 358.9 kB / 0.4937 GB, free: 8.945 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.1181, allocations: 3.984 kB / 0.4937 GB, free: 8.941 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1181, allocations: 4 kB / 0.4937 GB, free: 8.938 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.002e-06/0.1181, allocations: 0 / 0.4937 GB, free: 8.938 MB / 366.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.002217/0.1203, allocations: 0.6375 MB / 0.4943 GB, free: 8.266 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.1204, allocations: 8.031 kB / 0.4944 GB, free: 8.258 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.289e-05/0.1204, allocations: 4.188 kB / 0.4944 GB, free: 8.254 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.713e-05/0.1204, allocations: 58.67 kB / 0.4944 GB, free: 8.188 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.878e-05/0.1205, allocations: 20.8 kB / 0.4944 GB, free: 8.168 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003005/0.1208, allocations: 170.3 kB / 0.4946 GB, free: 7.977 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001136/0.1209, allocations: 97.66 kB / 0.4947 GB, free: 7.863 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.905e-05/0.121, allocations: 20.38 kB / 0.4947 GB, free: 7.844 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004494/0.1214, allocations: 226.1 kB / 0.4949 GB, free: 7.617 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.1214, allocations: 0 / 0.4949 GB, free: 7.617 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.965e-05/0.1215, allocations: 4 kB / 0.4949 GB, free: 7.613 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.1215, allocations: 4 kB / 0.4949 GB, free: 7.609 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000393/0.1219, allocations: 211.7 kB / 0.4951 GB, free: 7.402 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00174/0.1236, allocations: 0.8806 MB / 0.496 GB, free: 6.453 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006282/0.1242, allocations: 229.4 kB / 0.4962 GB, free: 6.223 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001898/0.1244, allocations: 104.7 kB / 0.4963 GB, free: 6.117 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001042/0.1245, allocations: 15.91 kB / 0.4963 GB, free: 6.102 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004217/0.125, allocations: 174 kB / 0.4965 GB, free: 5.922 MB / 366.1 MB Notification: Performance of pre-optimization done (n=22): time 1.533e-06/0.125, allocations: 0 / 0.4965 GB, free: 5.922 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001833/0.1268, allocations: 0.5254 MB / 0.497 GB, free: 5.387 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.893e-05/0.1268, allocations: 55.41 kB / 0.4971 GB, free: 5.32 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002546/0.1271, allocations: 182.1 kB / 0.4972 GB, free: 5.129 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.981e-05/0.1271, allocations: 33.7 kB / 0.4973 GB, free: 5.09 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.1272, allocations: 124.5 kB / 0.4974 GB, free: 4.965 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.612e-05/0.1273, allocations: 75.38 kB / 0.4975 GB, free: 4.891 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001259/0.1274, allocations: 57.92 kB / 0.4975 GB, free: 4.824 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001705/0.1276, allocations: 326.8 kB / 0.4978 GB, free: 4.496 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002208/0.1278, allocations: 116.5 kB / 0.4979 GB, free: 4.383 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003519/0.1282, allocations: 166.2 kB / 0.4981 GB, free: 4.207 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004959/0.1287, allocations: 280.1 kB / 0.4984 GB, free: 3.918 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.95e-06/0.1287, allocations: 7.938 kB / 0.4984 GB, free: 3.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001178/0.1299, allocations: 474 kB / 0.4988 GB, free: 3.438 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.1299, allocations: 8 kB / 0.4988 GB, free: 3.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.1299, allocations: 3.938 kB / 0.4988 GB, free: 3.426 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001002/0.1309, allocations: 188.8 kB / 0.499 GB, free: 3.238 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002506/0.1312, allocations: 43.97 kB / 0.4991 GB, free: 3.195 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008368/0.132, allocations: 0.7202 MB / 0.4998 GB, free: 2.449 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002059/0.1322, allocations: 27.78 kB / 0.4998 GB, free: 2.422 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.118e-05/0.1322, allocations: 16.03 kB / 0.4998 GB, free: 2.406 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.0001584/0.1324, allocations: 133.8 kB / 0.4999 GB, free: 2.266 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.101e-05/0.1324, allocations: 15.91 kB / 0.4999 GB, free: 2.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008276/0.1333, allocations: 381.2 kB / 0.5003 GB, free: 1.871 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.1333, allocations: 0 / 0.5003 GB, free: 1.871 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.1333, allocations: 0 / 0.5003 GB, free: 1.871 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.1333, allocations: 3.938 kB / 0.5003 GB, free: 1.867 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003558/0.1336, allocations: 320.2 kB / 0.5006 GB, free: 1.512 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1336, allocations: 4 kB / 0.5006 GB, free: 1.508 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001125/0.1337, allocations: 28 kB / 0.5006 GB, free: 1.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008185/0.1346, allocations: 192.6 kB / 0.5008 GB, free: 1.289 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.962e-05/0.1346, allocations: 7.938 kB / 0.5008 GB, free: 1.281 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008744/0.1354, allocations: 0.7397 MB / 0.5016 GB, free: 0.5156 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1355, allocations: 0 / 0.5016 GB, free: 0.5156 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007338/0.1362, allocations: 385.2 kB / 0.5019 GB, free: 124 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.67e-05/0.1362, allocations: 15.84 kB / 0.5019 GB, free: 108 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.79e-05/0.1363, allocations: 11.94 kB / 0.502 GB, free: 96 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001645/0.1364, allocations: 19.98 kB / 0.502 GB, free: 76 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.727e-05/0.1365, allocations: 11.97 kB / 0.502 GB, free: 64 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.228e-05/0.1365, allocations: 8 kB / 0.502 GB, free: 56 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001553/0.1367, allocations: 134.5 kB / 0.5021 GB, free: 15.93 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1367, allocations: 0 / 0.5021 GB, free: 15.93 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003163/0.137, allocations: 59.95 kB / 0.5022 GB, free: 15.87 MB / 382.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.001133/0.1381, allocations: 0.9293 MB / 0.5031 GB, free: 14.91 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008748/0.139, allocations: 287.8 kB / 0.5034 GB, free: 14.62 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.139, allocations: 0 / 0.5034 GB, free: 14.62 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000555/0.1395, allocations: 166.5 kB / 0.5035 GB, free: 14.46 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000275/0.1398, allocations: 28.23 kB / 0.5035 GB, free: 14.44 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004711/0.1445, allocations: 2.633 MB / 0.5061 GB, free: 11.7 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003586/0.1449, allocations: 0.7249 MB / 0.5068 GB, free: 10.95 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001166/0.145, allocations: 17.62 kB / 0.5068 GB, free: 10.93 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001085/0.1451, allocations: 55.41 kB / 0.5069 GB, free: 10.87 MB / 382.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1451, allocations: 96 / 0.5069 GB, free: 10.87 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02686/0.172, allocations: 6.096 MB / 0.5128 GB, free: 4.922 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.22/14.39, allocations: 11.17 kB / 0.5129 GB, free: 4.914 MB / 382.1 MB " [Timeout remaining time 645] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_DegradedModeForLoads_fmu --startTime=0 --stopTime=400 --stepSize=0.16 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_DegradedModeForLoads.fmu > PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.44168178399559] Failed to read output from testmodel.py, exit status != 0: 14.565629888093099 14.918438066 14.796822002 Calling exit ...