Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.VariableLoad.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.001328/0.001328, allocations: 108.3 kB / 19.75 MB, free: 1.879 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.00152/0.00152, allocations: 217.2 kB / 23.03 MB, free: 5.016 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.449/1.449, allocations: 230.6 MB / 256.8 MB, free: 7.953 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.0372/0.0372, allocations: 6.142 MB / 319.4 MB, free: 12.76 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.VariableLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_VariableLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.VariableLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_VariableLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001655/0.001655, allocations: 47.92 kB / 444.4 MB, free: 5.082 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.113, allocations: 55.03 MB / 499.5 MB, free: 13.96 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableLoad): time 0.00441/0.1174, allocations: 2.225 MB / 0.4899 GB, free: 11.74 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004235/0.1216, allocations: 2.743 MB / 0.4926 GB, free: 8.973 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001363/0.1218, allocations: 4 kB / 0.4926 GB, free: 8.969 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005179/0.1223, allocations: 167.1 kB / 0.4928 GB, free: 8.805 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009129/0.1232, allocations: 330.2 kB / 0.4931 GB, free: 8.48 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002325/0.1255, allocations: 1.181 MB / 0.4942 GB, free: 7.297 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006381/0.1262, allocations: 418.2 kB / 0.4946 GB, free: 6.887 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001987/0.1264, allocations: 80.84 kB / 0.4947 GB, free: 6.809 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001956/0.1265, allocations: 179.3 kB / 0.4949 GB, free: 6.633 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000299/0.1268, allocations: 183.1 kB / 0.495 GB, free: 6.453 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.906e-05/0.1269, allocations: 32 kB / 0.4951 GB, free: 6.422 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008444/0.1277, allocations: 371.7 kB / 0.4954 GB, free: 6.059 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001179/0.1279, allocations: 91.61 kB / 0.4955 GB, free: 5.969 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001751/0.128, allocations: 159.2 kB / 0.4957 GB, free: 5.812 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001049/0.1291, allocations: 0.6811 MB / 0.4963 GB, free: 5.129 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.1291, allocations: 0 / 0.4963 GB, free: 5.129 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.1291, allocations: 0 / 0.4963 GB, free: 5.129 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.939e-06/0.1291, allocations: 8 kB / 0.4963 GB, free: 5.121 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.004374/0.1335, allocations: 1.179 MB / 0.4975 GB, free: 3.91 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/0.1335, allocations: 8.031 kB / 0.4975 GB, free: 3.902 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001088/0.1336, allocations: 66.73 kB / 0.4976 GB, free: 3.828 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001206/0.1338, allocations: 48.66 kB / 0.4976 GB, free: 3.781 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005006/0.1343, allocations: 273.3 kB / 0.4979 GB, free: 3.488 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.857e-05/0.1343, allocations: 54.92 kB / 0.4979 GB, free: 3.426 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.258e-05/0.1344, allocations: 35.92 kB / 0.498 GB, free: 3.391 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008978/0.1353, allocations: 0.6189 MB / 0.4986 GB, free: 2.715 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.1353, allocations: 4 kB / 0.4986 GB, free: 2.711 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.319e-05/0.1354, allocations: 12 kB / 0.4986 GB, free: 2.699 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.228e-06/0.1354, allocations: 4 kB / 0.4986 GB, free: 2.695 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006379/0.136, allocations: 390.5 kB / 0.499 GB, free: 2.312 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002274/0.1383, allocations: 1.08 MB / 0.5 GB, free: 1.191 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009936/0.1393, allocations: 451 kB / 0.5004 GB, free: 0.7383 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003641/0.1396, allocations: 224.8 kB / 0.5007 GB, free: 0.5156 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.311e-05/0.1397, allocations: 12 kB / 0.5007 GB, free: 0.5039 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007187/0.1404, allocations: 459.5 kB / 0.5011 GB, free: 12 kB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 2.224e-06/0.1404, allocations: 0 / 0.5011 GB, free: 12 kB / 366.1 MB Notification: Performance of matching and sorting (n=43): time 0.004274/0.1447, allocations: 1.264 MB / 0.5023 GB, free: 14.74 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.517e-05/0.1448, allocations: 114.8 kB / 0.5025 GB, free: 14.6 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000371/0.1452, allocations: 296.2 kB / 0.5027 GB, free: 14.3 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.438e-05/0.1452, allocations: 33.7 kB / 0.5028 GB, free: 14.26 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001367/0.1453, allocations: 173 kB / 0.5029 GB, free: 14.09 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001433/0.1455, allocations: 150.7 kB / 0.5031 GB, free: 13.94 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001963/0.1457, allocations: 102.1 kB / 0.5032 GB, free: 13.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.1459, allocations: 346.8 kB / 0.5035 GB, free: 13.49 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004226/0.1463, allocations: 256.9 kB / 0.5037 GB, free: 13.24 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005112/0.1468, allocations: 363.4 kB / 0.5041 GB, free: 12.86 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009087/0.1477, allocations: 0.5613 MB / 0.5046 GB, free: 12.3 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.1477, allocations: 0 / 0.5046 GB, free: 12.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.00208/0.1498, allocations: 0.9158 MB / 0.5055 GB, free: 11.37 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.1498, allocations: 4 kB / 0.5055 GB, free: 11.37 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.1498, allocations: 3.938 kB / 0.5055 GB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002759/0.1526, allocations: 0.6056 MB / 0.5061 GB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003395/0.1529, allocations: 71.91 kB / 0.5062 GB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001893/0.1548, allocations: 1.064 MB / 0.5072 GB, free: 9.594 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004172/0.1552, allocations: 51.66 kB / 0.5073 GB, free: 9.543 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.423e-05/0.1553, allocations: 12 kB / 0.5073 GB, free: 9.531 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (varLoad.degradedMode,$PRE.varLoad.degradedMode,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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 {(7,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0002562/0.1555, allocations: 165.7 kB / 0.5075 GB, free: 9.359 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.82e-05/0.1556, allocations: 39.75 kB / 0.5075 GB, free: 9.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001436/0.157, allocations: 0.774 MB / 0.5083 GB, free: 8.531 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.157, allocations: 4 kB / 0.5083 GB, free: 8.527 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.1571, allocations: 3.938 kB / 0.5083 GB, free: 8.523 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.273e-06/0.1571, allocations: 3.984 kB / 0.5083 GB, free: 8.52 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005782/0.1576, allocations: 449 kB / 0.5087 GB, free: 8.035 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.1576, allocations: 0 / 0.5087 GB, free: 8.035 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001896/0.1578, allocations: 51.92 kB / 0.5087 GB, free: 7.984 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002603/0.1604, allocations: 0.5892 MB / 0.5093 GB, free: 7.395 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.722e-05/0.1605, allocations: 12 kB / 0.5093 GB, free: 7.383 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001735/0.1622, allocations: 1.083 MB / 0.5104 GB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1622, allocations: 0 / 0.5104 GB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001271/0.1635, allocations: 0.7211 MB / 0.5111 GB, free: 5.531 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.309e-05/0.1636, allocations: 39.69 kB / 0.5111 GB, free: 5.492 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.393e-05/0.1636, allocations: 15.94 kB / 0.5111 GB, free: 5.477 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003091/0.164, allocations: 31.92 kB / 0.5112 GB, free: 5.445 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.588e-05/0.1641, allocations: 40.31 kB / 0.5112 GB, free: 5.406 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.783e-05/0.1641, allocations: 12 kB / 0.5112 GB, free: 5.395 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002531/0.1643, allocations: 211.1 kB / 0.5114 GB, free: 5.191 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1643, allocations: 0 / 0.5114 GB, free: 5.191 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004761/0.1648, allocations: 155.8 kB / 0.5116 GB, free: 5.039 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,varLoad.degradedMode) * Number of discrete states: 1 (varLoad.degradedMode) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * 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 {(7,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003135/0.168, allocations: 1.654 MB / 0.5132 GB, free: 3.543 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001832/0.1698, allocations: 0.6691 MB / 0.5138 GB, free: 2.875 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.1698, allocations: 0 / 0.5138 GB, free: 2.875 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001174/0.171, allocations: 374.3 kB / 0.5142 GB, free: 2.508 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003573/0.1713, allocations: 40.97 kB / 0.5142 GB, free: 2.461 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.203/0.3743, allocations: 4.373 MB / 0.5185 GB, free: 29.38 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000175/0.3745, allocations: 184.6 kB / 0.5187 GB, free: 29.3 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003013/0.3748, allocations: 52.77 kB / 0.5187 GB, free: 29.29 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002365/0.375, allocations: 130.3 kB / 0.5189 GB, free: 29.29 MB / 382.1 MB Notification: Performance of SimCode: time 8.62e-07/0.375, allocations: 0 / 0.5189 GB, free: 29.29 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05379/0.4288, allocations: 12.23 MB / 0.5308 GB, free: 26.32 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.78/13.21, allocations: 1.094 kB / 0.5308 GB, free: 26.32 MB / 382.1 MB " [Timeout remaining time 647] (rm -f PowerSysPro_PowerSysPro.Examples.VariableLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.VariableLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.VariableLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.VariableLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_VariableLoad_fmu --startTime=0 --stopTime=3.15324e+07 --stepSize=12613 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_VariableLoad.fmu > PowerSysPro_PowerSysPro.Examples.VariableLoad.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.826911002863199] Failed to read output from testmodel.py, exit status != 0: 13.388558370992541 13.408233835 13.276030662 Calling exit ...