Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.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.0008317/0.0008317, allocations: 80.53 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.001301/0.001301, allocations: 173.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.8662/0.8662, allocations: 177.1 MB / 203.6 MB, free: 5.758 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.02359/0.02359, allocations: 4.465 MB / 264.5 MB, free: 8.777 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.OneSourceOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 389.6 MB, free: 7.414 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.207e-05/2.383e-05, allocations: 2.281 kB / 389.6 MB, free: 7.41 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoad): time 0.001539/0.001562, allocations: 0.8275 MB / 390.4 MB, free: 6.586 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001328/0.00289, allocations: 1.31 MB / 391.7 MB, free: 5.262 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.279e-05/0.002933, allocations: 0 / 391.7 MB, free: 5.262 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000237/0.00317, allocations: 63.58 kB / 391.8 MB, free: 5.199 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001567/0.003327, allocations: 43.77 kB / 391.8 MB, free: 5.156 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005055/0.003832, allocations: 302.7 kB / 392.1 MB, free: 4.859 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001095/0.003942, allocations: 79.53 kB / 392.2 MB, free: 4.781 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.004052, allocations: 19.92 kB / 392.2 MB, free: 4.762 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.785e-05/0.00411, allocations: 43.89 kB / 392.3 MB, free: 4.719 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001237/0.004234, allocations: 27.92 kB / 392.3 MB, free: 4.691 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.097e-05/0.004255, allocations: 8 kB / 392.3 MB, free: 4.684 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001756/0.00443, allocations: 103.9 kB / 392.4 MB, free: 4.582 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.194e-05/0.004452, allocations: 15.92 kB / 392.4 MB, free: 4.566 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.92e-05/0.004491, allocations: 27.92 kB / 392.5 MB, free: 4.539 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002968/0.004788, allocations: 171.4 kB / 392.6 MB, free: 4.371 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.004791, allocations: 0 / 392.6 MB, free: 4.371 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.004792, allocations: 0 / 392.6 MB, free: 4.371 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.0048, allocations: 7.984 kB / 392.6 MB, free: 4.363 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006965/0.005496, allocations: 365.8 kB / 393 MB, free: 3.973 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.005535, allocations: 8.031 kB / 393 MB, free: 3.965 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.523e-05/0.00557, allocations: 42.73 kB / 393 MB, free: 3.914 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.119e-05/0.005602, allocations: 12.89 kB / 393.1 MB, free: 3.902 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/0.005713, allocations: 117.7 kB / 393.2 MB, free: 3.762 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.005723, allocations: 4.375 kB / 393.2 MB, free: 3.758 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.269e-05/0.005736, allocations: 8.359 kB / 393.2 MB, free: 3.75 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001509/0.005886, allocations: 149.6 kB / 393.3 MB, free: 3.586 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.005894, allocations: 192 / 393.3 MB, free: 3.586 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.005905, allocations: 4.375 kB / 393.3 MB, free: 3.582 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.00591, allocations: 8.062 kB / 393.3 MB, free: 3.574 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.61e-05/0.005996, allocations: 75.97 kB / 393.4 MB, free: 3.5 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004456/0.006442, allocations: 331.8 kB / 393.7 MB, free: 3.133 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002354/0.006677, allocations: 106.6 kB / 393.8 MB, free: 3.02 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.086e-05/0.006718, allocations: 32.84 kB / 393.9 MB, free: 2.984 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.444e-05/0.006753, allocations: 4 kB / 393.9 MB, free: 2.98 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.862e-05/0.006771, allocations: 30.56 kB / 393.9 MB, free: 2.941 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.006772, allocations: 0 / 393.9 MB, free: 2.941 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003922/0.007165, allocations: 154.4 kB / 394.1 MB, free: 2.781 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.102e-05/0.007196, allocations: 63.39 kB / 394.1 MB, free: 2.707 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.007304, allocations: 133.8 kB / 394.3 MB, free: 2.566 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/0.007317, allocations: 25.7 kB / 394.3 MB, free: 2.535 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.038e-05/0.007377, allocations: 104 kB / 394.4 MB, free: 2.43 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.747e-05/0.007394, allocations: 27.94 kB / 394.4 MB, free: 2.402 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.858e-05/0.007433, allocations: 21.72 kB / 394.4 MB, free: 2.375 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.938e-05/0.007522, allocations: 322.8 kB / 394.7 MB, free: 2.051 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.532e-05/0.007568, allocations: 35.98 kB / 394.8 MB, free: 2.016 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.349e-05/0.007611, allocations: 31.98 kB / 394.8 MB, free: 1.984 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.559e-05/0.007707, allocations: 80.72 kB / 394.9 MB, free: 1.902 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.007711, allocations: 4 kB / 394.9 MB, free: 1.898 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001989/0.00791, allocations: 142.4 kB / 395 MB, free: 1.75 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.007926, allocations: 8.281 kB / 395 MB, free: 1.742 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.007933, allocations: 3.984 kB / 395 MB, free: 1.738 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001829/0.008116, allocations: 32.84 kB / 395.1 MB, free: 1.703 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.009e-05/0.008166, allocations: 19.86 kB / 395.1 MB, free: 1.684 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008678/0.009033, allocations: 1.338 MB / 396.4 MB, free: 236 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.48e-05/0.009078, allocations: 7.891 kB / 396.4 MB, free: 228 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/0.009087, allocations: 4.031 kB / 396.4 MB, free: 224 kB / 314.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.149e-05/0.009159, allocations: 121.8 kB / 396.6 MB, free: 92 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.918e-05/0.009178, allocations: 11.94 kB / 396.6 MB, free: 80 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002075/0.009386, allocations: 126.9 kB / 396.7 MB, free: 15.94 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.009388, allocations: 96 / 396.7 MB, free: 15.94 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.00939, allocations: 4 kB / 396.7 MB, free: 15.94 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.009393, allocations: 0 / 396.7 MB, free: 15.94 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001313/0.009524, allocations: 164.7 kB / 396.9 MB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.009526, allocations: 0 / 396.9 MB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.143e-05/0.009547, allocations: 8 kB / 396.9 MB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.23e-05/0.009639, allocations: 40.77 kB / 396.9 MB, free: 15.68 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.009646, allocations: 0 / 396.9 MB, free: 15.68 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006644/0.01031, allocations: 1.322 MB / 398.2 MB, free: 14.25 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.01031, allocations: 0 / 398.2 MB, free: 14.25 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000176/0.01049, allocations: 224.6 kB / 398.5 MB, free: 14.01 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.156e-05/0.0105, allocations: 7.938 kB / 398.5 MB, free: 14 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.789e-06/0.01051, allocations: 7.938 kB / 398.5 MB, free: 14 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.552e-05/0.01057, allocations: 8 kB / 398.5 MB, free: 13.99 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.112e-05/0.0106, allocations: 4.141 kB / 398.5 MB, free: 13.98 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.004e-06/0.0106, allocations: 8 kB / 398.5 MB, free: 13.98 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.648e-05/0.01067, allocations: 110.9 kB / 398.6 MB, free: 13.87 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01067, allocations: 0 / 398.6 MB, free: 13.87 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002067/0.01088, allocations: 31.98 kB / 398.6 MB, free: 13.84 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004609/0.01134, allocations: 0.7444 MB / 399.4 MB, free: 13.07 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002955/0.01163, allocations: 198.6 kB / 399.6 MB, free: 12.86 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.01163, allocations: 0 / 399.6 MB, free: 12.86 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001074/0.01174, allocations: 150.7 kB / 399.7 MB, free: 12.7 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002807/0.01202, allocations: 22.8 kB / 399.7 MB, free: 12.68 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001234/0.01326, allocations: 1.591 MB / 401.3 MB, free: 11 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.466e-05/0.01331, allocations: 83.25 kB / 401.4 MB, free: 10.9 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.235e-05/0.01335, allocations: 8.719 kB / 401.4 MB, free: 10.89 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.037e-05/0.01339, allocations: 28.42 kB / 401.4 MB, free: 10.86 MB / 330.7 MB Notification: Performance of SimCode: time 7.71e-07/0.01339, allocations: 0 / 401.4 MB, free: 10.86 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01846/0.03185, allocations: 3.559 MB / 405 MB, free: 7.426 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.108/7.14, allocations: 3.859 kB / 405 MB, free: 7.422 MB / 330.7 MB " [Timeout remaining time 653] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSysPro_PowerSysPro_Examples_OneSourceOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.018771283328533] Failed to read output from testmodel.py, exit status != 0: 7.223858702927828 7.364929349 7.3580323629999995 Calling exit ...