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.001381/0.001381, allocations: 96.38 kB / 20.52 MB, free: 1.328 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.001469/0.001469, allocations: 213.5 kB / 23.82 MB, free: 4.48 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.493/1.493, allocations: 230.6 MB / 257.6 MB, free: 7.809 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.04054/0.04054, allocations: 6.128 MB / 320.1 MB, free: 12.77 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.VariableLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_VariableLoad",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001525/0.001525, allocations: 48.06 kB / 445.2 MB, free: 5.113 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1235, allocations: 55.02 MB / 0.4885 GB, free: 13.99 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableLoad): time 0.004525/0.128, allocations: 2.23 MB / 0.4907 GB, free: 11.77 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004841/0.1328, allocations: 2.736 MB / 0.4933 GB, free: 9.008 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001799/0.133, allocations: 4 kB / 0.4934 GB, free: 9.004 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00058/0.1336, allocations: 171 kB / 0.4935 GB, free: 8.836 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009181/0.1345, allocations: 326.3 kB / 0.4938 GB, free: 8.516 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002373/0.1369, allocations: 1.183 MB / 0.495 GB, free: 7.332 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000697/0.1376, allocations: 418.2 kB / 0.4954 GB, free: 6.922 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002005/0.1378, allocations: 84.86 kB / 0.4955 GB, free: 6.84 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002129/0.138, allocations: 171.3 kB / 0.4956 GB, free: 6.672 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003381/0.1383, allocations: 211.1 kB / 0.4958 GB, free: 6.465 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.22e-05/0.1384, allocations: 32 kB / 0.4959 GB, free: 6.434 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007729/0.1392, allocations: 391.6 kB / 0.4962 GB, free: 6.051 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001239/0.1393, allocations: 91.61 kB / 0.4963 GB, free: 5.961 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001788/0.1395, allocations: 155.2 kB / 0.4965 GB, free: 5.809 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00104/0.1405, allocations: 0.6851 MB / 0.4971 GB, free: 5.121 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.084e-06/0.1405, allocations: 0 / 0.4971 GB, free: 5.121 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.316e-06/0.1405, allocations: 0 / 0.4971 GB, free: 5.121 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.16e-05/0.1405, allocations: 0 / 0.4971 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.004542/0.1451, allocations: 1.191 MB / 0.4983 GB, free: 3.898 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.1451, allocations: 8.031 kB / 0.4983 GB, free: 3.891 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.621e-05/0.1451, allocations: 8.844 kB / 0.4983 GB, free: 3.879 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.064e-05/0.1452, allocations: 66.72 kB / 0.4984 GB, free: 3.805 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001269/0.1454, allocations: 44.66 kB / 0.4984 GB, free: 3.762 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004606/0.1458, allocations: 269.4 kB / 0.4987 GB, free: 3.473 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.164e-05/0.1459, allocations: 62.66 kB / 0.4987 GB, free: 3.406 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.025e-05/0.146, allocations: 28 kB / 0.4988 GB, free: 3.379 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008479/0.1468, allocations: 0.615 MB / 0.4994 GB, free: 2.707 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.1468, allocations: 0 / 0.4994 GB, free: 2.707 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.304e-05/0.1469, allocations: 16 kB / 0.4994 GB, free: 2.691 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.339e-05/0.1469, allocations: 8 kB / 0.4994 GB, free: 2.684 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006296/0.1475, allocations: 394.5 kB / 0.4998 GB, free: 2.297 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002225/0.1497, allocations: 1.076 MB / 0.5008 GB, free: 1.176 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009483/0.1507, allocations: 462.9 kB / 0.5013 GB, free: 0.7109 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003641/0.151, allocations: 220.8 kB / 0.5015 GB, free: 0.4922 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.415e-05/0.1511, allocations: 16 kB / 0.5015 GB, free: 488 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007/0.1518, allocations: 451.7 kB / 0.5019 GB, free: 15.99 MB / 382.1 MB Notification: Performance of pre-optimization done (n=43): time 2.074e-06/0.1518, allocations: 0 / 0.5019 GB, free: 15.99 MB / 382.1 MB Notification: Performance of matching and sorting (n=43): time 0.004297/0.1561, allocations: 1.272 MB / 0.5032 GB, free: 14.71 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.263e-05/0.1562, allocations: 106.8 kB / 0.5033 GB, free: 14.58 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003567/0.1565, allocations: 296.2 kB / 0.5035 GB, free: 14.29 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.356e-05/0.1566, allocations: 41.64 kB / 0.5036 GB, free: 14.24 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001297/0.1567, allocations: 165.1 kB / 0.5037 GB, free: 14.07 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001364/0.1569, allocations: 154.7 kB / 0.5039 GB, free: 13.92 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001878/0.157, allocations: 94.16 kB / 0.504 GB, free: 13.82 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.1572, allocations: 346.8 kB / 0.5043 GB, free: 13.48 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004305/0.1576, allocations: 260.9 kB / 0.5046 GB, free: 13.22 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004956/0.1581, allocations: 363.4 kB / 0.5049 GB, free: 12.84 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008867/0.159, allocations: 0.5652 MB / 0.5054 GB, free: 12.28 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.159, allocations: 0 / 0.5054 GB, free: 12.28 MB / 382.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.002085/0.1611, allocations: 0.908 MB / 0.5063 GB, free: 11.36 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.1611, allocations: 7.938 kB / 0.5063 GB, free: 11.35 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.1611, allocations: 4 kB / 0.5063 GB, free: 11.35 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002838/0.164, allocations: 0.6082 MB / 0.5069 GB, free: 10.74 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003155/0.1643, allocations: 71.89 kB / 0.507 GB, free: 10.67 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001815/0.1661, allocations: 1.076 MB / 0.5081 GB, free: 9.566 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004008/0.1665, allocations: 47.62 kB / 0.5081 GB, free: 9.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.805e-05/0.1665, allocations: 19.98 kB / 0.5081 GB, free: 9.5 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.0002441/0.1668, allocations: 157.7 kB / 0.5083 GB, free: 9.336 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.993e-05/0.1669, allocations: 39.77 kB / 0.5083 GB, free: 9.297 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001454/0.1683, allocations: 0.7701 MB / 0.5091 GB, free: 8.512 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-06/0.1683, allocations: 8 kB / 0.5091 GB, free: 8.504 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.1683, allocations: 0 / 0.5091 GB, free: 8.504 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.1683, allocations: 3.984 kB / 0.5091 GB, free: 8.5 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005392/0.1689, allocations: 449 kB / 0.5095 GB, free: 8.016 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.1689, allocations: 3.984 kB / 0.5095 GB, free: 8.012 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001833/0.1691, allocations: 47.92 kB / 0.5096 GB, free: 7.965 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002657/0.1717, allocations: 0.5851 MB / 0.5101 GB, free: 7.379 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.684e-05/0.1718, allocations: 12 kB / 0.5101 GB, free: 7.367 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00173/0.1735, allocations: 1.081 MB / 0.5112 GB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.1735, allocations: 0 / 0.5112 GB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001284/0.1748, allocations: 0.725 MB / 0.5119 GB, free: 5.516 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.622e-05/0.1749, allocations: 47.64 kB / 0.5119 GB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.43e-05/0.175, allocations: 7.938 kB / 0.512 GB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003274/0.1753, allocations: 23.98 kB / 0.512 GB, free: 5.438 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.367e-05/0.1754, allocations: 32.38 kB / 0.512 GB, free: 5.406 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.993e-05/0.1754, allocations: 19.92 kB / 0.512 GB, free: 5.387 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000285/0.1757, allocations: 215.1 kB / 0.5122 GB, free: 5.176 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1757, allocations: 0 / 0.5122 GB, free: 5.176 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005253/0.1762, allocations: 151.8 kB / 0.5124 GB, free: 5.027 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.003265/0.1795, allocations: 1.661 MB / 0.514 GB, free: 3.523 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001961/0.1815, allocations: 0.6651 MB / 0.5146 GB, free: 2.859 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.1815, allocations: 0 / 0.5146 GB, free: 2.859 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00124/0.1827, allocations: 378.3 kB / 0.515 GB, free: 2.488 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004685/0.1832, allocations: 53.03 kB / 0.5151 GB, free: 2.438 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2073/0.3905, allocations: 4.358 MB / 0.5193 GB, free: 29.81 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001668/0.3907, allocations: 188.5 kB / 0.5195 GB, free: 29.73 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002409/0.3909, allocations: 59.52 kB / 0.5196 GB, free: 29.72 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001825/0.3911, allocations: 122.3 kB / 0.5197 GB, free: 29.72 MB / 382.1 MB Notification: Performance of SimCode: time 1.152e-06/0.3911, allocations: 0 / 0.5197 GB, free: 29.72 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03821/0.4293, allocations: 11.95 MB / 0.5313 GB, free: 27.1 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.82/14.25, allocations: 2.281 kB / 0.5313 GB, free: 27.1 MB / 382.1 MB " [Timeout remaining time 646] (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: 17.05688983493019] Failed to read output from testmodel.py, exit status != 0: 14.483998983050697 14.496856125 14.353451365 Calling exit ...