Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.QfURegulation.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.0009202/0.0009202, 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.001055/0.001055, 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.9106/0.9106, allocations: 177.1 MB / 203.5 MB, free: 5.746 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.02242/0.02242, allocations: 4.472 MB / 264.5 MB, free: 8.77 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.QfURegulation,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_QfURegulation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.QfURegulation,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_QfURegulation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 389.6 MB, free: 7.414 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.291e-05/1.432e-05, allocations: 2.281 kB / 389.6 MB, free: 7.41 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.QfURegulation): time 0.002098/0.002112, allocations: 1.855 MB / 391.5 MB, free: 5.559 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002006/0.004119, allocations: 1.633 MB / 393.1 MB, free: 3.91 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001054/0.004224, allocations: 8 kB / 393.1 MB, free: 3.902 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003616/0.004586, allocations: 139.1 kB / 393.2 MB, free: 3.766 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006492/0.005235, allocations: 222.5 kB / 393.5 MB, free: 3.547 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00119/0.006425, allocations: 1.116 MB / 394.6 MB, free: 2.426 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004474/0.006872, allocations: 378.3 kB / 394.9 MB, free: 2.055 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001548/0.007027, allocations: 73.14 kB / 395 MB, free: 1.984 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004551/0.007482, allocations: 231.5 kB / 395.2 MB, free: 1.758 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002487/0.007731, allocations: 159.5 kB / 395.4 MB, free: 1.602 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.554e-05/0.007776, allocations: 28 kB / 395.4 MB, free: 1.574 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005645/0.008341, allocations: 287.5 kB / 395.7 MB, free: 1.293 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001036/0.008445, allocations: 91.66 kB / 395.8 MB, free: 1.203 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001158/0.00856, allocations: 119.7 kB / 395.9 MB, free: 1.086 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006476/0.009208, allocations: 0.6037 MB / 396.5 MB, free: 492 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.009211, allocations: 0 / 396.5 MB, free: 492 kB / 314.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.009213, allocations: 0 / 396.5 MB, free: 492 kB / 314.7 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.009219, allocations: 0 / 396.5 MB, free: 492 kB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.002239/0.01146, allocations: 1.051 MB / 397.6 MB, free: 15.39 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.0115, allocations: 8.031 kB / 397.6 MB, free: 15.38 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.341e-05/0.01158, allocations: 70.72 kB / 397.6 MB, free: 15.3 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.125e-05/0.01166, allocations: 40.7 kB / 397.7 MB, free: 15.27 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003159/0.01197, allocations: 245.4 kB / 397.9 MB, free: 15 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001929/0.01217, allocations: 233.1 kB / 398.1 MB, free: 14.73 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.92e-05/0.0122, allocations: 24.38 kB / 398.2 MB, free: 14.71 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001328/0.01353, allocations: 0.8444 MB / 399 MB, free: 13.81 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.01354, allocations: 192 / 399 MB, free: 13.81 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.046e-05/0.01357, allocations: 12.38 kB / 399 MB, free: 13.8 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.01358, allocations: 11.94 kB / 399 MB, free: 13.79 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005687/0.01415, allocations: 461.7 kB / 399.5 MB, free: 13.33 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00125/0.0154, allocations: 1.084 MB / 400.6 MB, free: 12.2 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008616/0.01626, allocations: 0.6011 MB / 401.2 MB, free: 11.57 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003497/0.01661, allocations: 306.4 kB / 401.5 MB, free: 11.26 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.129e-05/0.01669, allocations: 16 kB / 401.5 MB, free: 11.24 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003146/0.01701, allocations: 376.2 kB / 401.9 MB, free: 10.83 MB / 330.7 MB Notification: Performance of pre-optimization done (n=43): time 1.503e-06/0.01701, allocations: 0 / 401.9 MB, free: 10.83 MB / 330.7 MB Notification: Performance of matching and sorting (n=43): time 0.001922/0.01893, allocations: 1.138 MB / 403 MB, free: 9.684 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.642e-05/0.019, allocations: 148.5 kB / 403.1 MB, free: 9.508 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001559/0.01915, allocations: 231.1 kB / 403.4 MB, free: 9.273 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.98e-05/0.01918, allocations: 33.7 kB / 403.4 MB, free: 9.234 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.065e-05/0.01925, allocations: 153 kB / 403.5 MB, free: 9.078 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.393e-05/0.01932, allocations: 111 kB / 403.7 MB, free: 8.969 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.615e-05/0.0194, allocations: 78.19 kB / 403.7 MB, free: 8.887 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.119e-05/0.01949, allocations: 330.8 kB / 404.1 MB, free: 8.555 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001935/0.01968, allocations: 196.9 kB / 404.2 MB, free: 8.359 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002197/0.0199, allocations: 276.1 kB / 404.5 MB, free: 8.066 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000409/0.02031, allocations: 455.5 kB / 405 MB, free: 7.605 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.02031, allocations: 4 kB / 405 MB, free: 7.602 MB / 330.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0008338/0.02115, allocations: 0.6975 MB / 405.7 MB, free: 6.895 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.02116, allocations: 8 kB / 405.7 MB, free: 6.887 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.02116, allocations: 0 / 405.7 MB, free: 6.887 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001332/0.0225, allocations: 460.3 kB / 406.1 MB, free: 6.434 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001446/0.02264, allocations: 63.91 kB / 406.2 MB, free: 6.371 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008287/0.02347, allocations: 0.8998 MB / 407.1 MB, free: 5.445 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001371/0.02361, allocations: 39.77 kB / 407.1 MB, free: 5.406 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.977e-05/0.02363, allocations: 16 kB / 407.1 MB, free: 5.391 MB / 330.7 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 (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 (40): * Single equations (assignments): 39 * 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,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001255/0.02375, allocations: 161.7 kB / 407.3 MB, free: 5.223 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003377/0.02409, allocations: 253.7 kB / 407.5 MB, free: 4.969 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006469/0.02474, allocations: 0.5761 MB / 408.1 MB, free: 4.383 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/0.02474, allocations: 8 kB / 408.1 MB, free: 4.375 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.02475, allocations: 7.938 kB / 408.1 MB, free: 4.367 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.02475, allocations: 3.984 kB / 408.1 MB, free: 4.363 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001394/0.02615, allocations: 1.256 MB / 409.4 MB, free: 3.055 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.02615, allocations: 0 / 409.4 MB, free: 3.055 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001827/0.02633, allocations: 83.88 kB / 409.5 MB, free: 2.973 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009725/0.0273, allocations: 452.4 kB / 409.9 MB, free: 2.527 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.674e-05/0.02733, allocations: 19.98 kB / 409.9 MB, free: 2.508 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007955/0.02812, allocations: 0.9075 MB / 410.8 MB, free: 1.574 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.02813, allocations: 3.938 kB / 410.8 MB, free: 1.57 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001344/0.02947, allocations: 0.9911 MB / 411.8 MB, free: 0.5508 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.294e-05/0.0295, allocations: 35.69 kB / 411.9 MB, free: 0.5156 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.87e-05/0.02954, allocations: 11.98 kB / 411.9 MB, free: 0.5039 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001889/0.02973, allocations: 43.97 kB / 411.9 MB, free: 472 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.33e-05/0.02979, allocations: 31.83 kB / 412 MB, free: 440 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.286e-05/0.02981, allocations: 15.98 kB / 412 MB, free: 424 kB / 330.7 MB Notification: Performance of sorting global known variables: time 9.784e-05/0.02991, allocations: 163.4 kB / 412.1 MB, free: 260 kB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02991, allocations: 0 / 412.1 MB, free: 260 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002648/0.03017, allocations: 107.9 kB / 412.2 MB, free: 152 kB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (38): * Single equations (assignments): 37 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.1398/0.17, allocations: 1.56 MB / 413.8 MB, free: 34.1 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001208/0.1712, allocations: 0.6296 MB / 414.4 MB, free: 33.92 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.1712, allocations: 1.062 kB / 414.4 MB, free: 33.92 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006048/0.1718, allocations: 314.3 kB / 414.7 MB, free: 33.84 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005783/0.1724, allocations: 148.6 kB / 414.9 MB, free: 33.8 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004265/0.1766, allocations: 3.913 MB / 418.8 MB, free: 31.52 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001426/0.1768, allocations: 171.4 kB / 419 MB, free: 31.43 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001078/0.1769, allocations: 41.25 kB / 419 MB, free: 31.42 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001152/0.177, allocations: 99.69 kB / 419.1 MB, free: 31.34 MB / 330.7 MB Notification: Performance of SimCode: time 7.31e-07/0.177, allocations: 1.156 kB / 419.1 MB, free: 31.34 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02061/0.1976, allocations: 9.587 MB / 428.7 MB, free: 28.18 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.071/8.269, allocations: 1.094 kB / 428.7 MB, free: 28.18 MB / 330.7 MB " [Timeout remaining time 652] (rm -f PowerSysPro_PowerSysPro.Examples.QfURegulation.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.QfURegulation.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.QfURegulation.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.QfURegulation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_QfURegulation_fmu --startTime=0 --stopTime=200 --stepSize=0.08 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_QfURegulation.fmu > PowerSysPro_PowerSysPro.Examples.QfURegulation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.995383105240762] Failed to read output from testmodel.py, exit status != 0: 8.360977873206139 8.370449789 8.359829434 Calling exit ...