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.001275/0.001275, allocations: 76.55 kB / 19.96 MB, free: 4.598 MB / 18.57 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.001591/0.001591, allocations: 177.9 kB / 23.25 MB, free: 1.312 MB / 18.57 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 0.9359/0.9359, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.02736/0.02736, allocations: 4.469 MB / 264.5 MB, free: 8.762 MB / 250.7 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 1.343e-06/1.343e-06, allocations: 0 / 389.6 MB, free: 7.418 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.061e-05/2.195e-05, allocations: 10.16 kB / 389.6 MB, free: 7.406 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableLoad): time 0.002652/0.002674, allocations: 2.231 MB / 391.8 MB, free: 5.176 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002934/0.005608, allocations: 2.759 MB / 394.6 MB, free: 2.395 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002374/0.005845, allocations: 4 kB / 394.6 MB, free: 2.391 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006184/0.006464, allocations: 166.9 kB / 394.8 MB, free: 2.227 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009971/0.007461, allocations: 334 kB / 395.1 MB, free: 1.898 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001377/0.008838, allocations: 1.186 MB / 396.3 MB, free: 0.7109 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006481/0.009486, allocations: 430 kB / 396.7 MB, free: 296 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002545/0.009741, allocations: 85.2 kB / 396.8 MB, free: 212 kB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004753/0.01022, allocations: 239.5 kB / 397 MB, free: 15.97 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002706/0.01049, allocations: 155.5 kB / 397.2 MB, free: 15.82 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.023e-05/0.01055, allocations: 32 kB / 397.2 MB, free: 15.79 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007027/0.01125, allocations: 387.3 kB / 397.6 MB, free: 15.41 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001003/0.01135, allocations: 83.67 kB / 397.7 MB, free: 15.33 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000107/0.01146, allocations: 131.6 kB / 397.8 MB, free: 15.2 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009578/0.01241, allocations: 0.7243 MB / 398.5 MB, free: 14.47 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.01242, allocations: 0 / 398.5 MB, free: 14.47 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.01242, allocations: 0 / 398.5 MB, free: 14.47 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.952e-06/0.01243, allocations: 0 / 398.5 MB, free: 14.47 MB / 330.7 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.002537/0.01496, allocations: 1.179 MB / 399.7 MB, free: 13.26 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.015, allocations: 8.031 kB / 399.7 MB, free: 13.25 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.758e-05/0.01507, allocations: 74.72 kB / 399.8 MB, free: 13.17 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.561e-05/0.01517, allocations: 44.66 kB / 399.8 MB, free: 13.13 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004707/0.01564, allocations: 268.6 kB / 400.1 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.203e-05/0.01569, allocations: 50.91 kB / 400.1 MB, free: 12.78 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.794e-05/0.01573, allocations: 32.38 kB / 400.2 MB, free: 12.75 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000561/0.01629, allocations: 0.627 MB / 400.8 MB, free: 12.06 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.0163, allocations: 4 kB / 400.8 MB, free: 12.06 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.693e-05/0.01633, allocations: 8 kB / 400.8 MB, free: 12.05 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.01633, allocations: 11.94 kB / 400.8 MB, free: 12.04 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004136/0.01675, allocations: 394.5 kB / 401.2 MB, free: 11.65 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001424/0.01817, allocations: 1.076 MB / 402.3 MB, free: 10.54 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006117/0.01878, allocations: 459.7 kB / 402.7 MB, free: 10.07 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002381/0.01902, allocations: 220.8 kB / 402.9 MB, free: 9.855 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.306e-05/0.01907, allocations: 11.98 kB / 402.9 MB, free: 9.844 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004898/0.01956, allocations: 455.6 kB / 403.4 MB, free: 9.355 MB / 330.7 MB Notification: Performance of pre-optimization done (n=43): time 1.834e-06/0.01957, allocations: 0 / 403.4 MB, free: 9.355 MB / 330.7 MB Notification: Performance of matching and sorting (n=43): time 0.002692/0.02226, allocations: 1.268 MB / 404.7 MB, free: 8.078 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.357e-05/0.02231, allocations: 106.8 kB / 404.8 MB, free: 7.949 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002537/0.02256, allocations: 300.1 kB / 405.1 MB, free: 7.648 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.762e-05/0.0226, allocations: 37.7 kB / 405.1 MB, free: 7.605 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.392e-05/0.0227, allocations: 173 kB / 405.3 MB, free: 7.434 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.568e-05/0.02278, allocations: 146.7 kB / 405.4 MB, free: 7.289 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001174/0.0229, allocations: 98.17 kB / 405.5 MB, free: 7.188 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.29e-05/0.02299, allocations: 350.7 kB / 405.8 MB, free: 6.836 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002707/0.02326, allocations: 256.9 kB / 406.1 MB, free: 6.586 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003229/0.02359, allocations: 363.3 kB / 406.4 MB, free: 6.207 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005856/0.02417, allocations: 0.5613 MB / 407 MB, free: 5.645 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.02417, allocations: 4.031 kB / 407 MB, free: 5.641 MB / 330.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001205/0.02538, allocations: 0.9002 MB / 407.9 MB, free: 4.734 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.0254, allocations: 14.97 kB / 407.9 MB, free: 4.723 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.0254, allocations: 0 / 407.9 MB, free: 4.723 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00142/0.02682, allocations: 0.6017 MB / 408.5 MB, free: 4.117 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001672/0.02699, allocations: 71.91 kB / 408.6 MB, free: 4.047 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001053/0.02804, allocations: 1.078 MB / 409.7 MB, free: 2.945 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002017/0.02825, allocations: 51.66 kB / 409.7 MB, free: 2.895 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.909e-05/0.02827, allocations: 16 kB / 409.7 MB, free: 2.879 MB / 330.7 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.0001695/0.02844, allocations: 157.8 kB / 409.9 MB, free: 2.715 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.963e-05/0.02849, allocations: 43.69 kB / 409.9 MB, free: 2.672 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001221/0.02971, allocations: 0.7678 MB / 410.7 MB, free: 1.887 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.665e-06/0.02972, allocations: 8 kB / 410.7 MB, free: 1.879 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/0.02973, allocations: 0 / 410.7 MB, free: 1.879 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.02974, allocations: 3.984 kB / 410.7 MB, free: 1.875 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003529/0.03009, allocations: 441.2 kB / 411.1 MB, free: 1.402 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.03009, allocations: 8 kB / 411.2 MB, free: 1.395 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.962e-05/0.03019, allocations: 51.92 kB / 411.2 MB, free: 1.344 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001318/0.03151, allocations: 0.586 MB / 411.8 MB, free: 0.7539 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.938e-05/0.03154, allocations: 7.938 kB / 411.8 MB, free: 0.7461 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1444/0.1759, allocations: 1.072 MB / 412.9 MB, free: 34.01 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.1759, allocations: 0.75 kB / 412.9 MB, free: 34.01 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009243/0.1769, allocations: 0.7309 MB / 413.6 MB, free: 33.88 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.039e-05/0.1769, allocations: 36.42 kB / 413.6 MB, free: 33.88 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.239e-05/0.177, allocations: 11.2 kB / 413.7 MB, free: 33.88 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001875/0.1771, allocations: 19.86 kB / 413.7 MB, free: 33.87 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.278e-05/0.1772, allocations: 42.52 kB / 413.7 MB, free: 33.86 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.538e-05/0.1772, allocations: 18.58 kB / 413.7 MB, free: 33.86 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001617/0.1774, allocations: 209 kB / 413.9 MB, free: 33.75 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1774, allocations: 0 / 413.9 MB, free: 33.75 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003269/0.1777, allocations: 149.7 kB / 414.1 MB, free: 33.73 MB / 330.7 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.001588/0.1793, allocations: 1.67 MB / 415.8 MB, free: 32.79 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001083/0.1804, allocations: 0.6727 MB / 416.4 MB, free: 32.56 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.1804, allocations: 0.9062 kB / 416.4 MB, free: 32.56 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006007/0.181, allocations: 375.9 kB / 416.8 MB, free: 32.45 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002743/0.1813, allocations: 51.59 kB / 416.8 MB, free: 32.41 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00448/0.1858, allocations: 4.371 MB / 421.2 MB, free: 29.93 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001332/0.1859, allocations: 186.8 kB / 421.4 MB, free: 29.84 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001493/0.186, allocations: 57.41 kB / 421.5 MB, free: 29.83 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001336/0.1862, allocations: 125.7 kB / 421.6 MB, free: 29.75 MB / 330.7 MB Notification: Performance of SimCode: time 1.292e-06/0.1862, allocations: 1.125 kB / 421.6 MB, free: 29.75 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02626/0.2124, allocations: 12.4 MB / 434 MB, free: 25 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.021/8.233, allocations: 3.938 kB / 434 MB, free: 25 MB / 330.7 MB " [Timeout remaining time 652] (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: 10.048427045345306] Failed to read output from testmodel.py, exit status != 0: 8.344684679992497 8.351477141 8.337576519 Calling exit ...