Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneSource.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.0008459/0.0008459, allocations: 76.55 kB / 19.97 MB, free: 4.594 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.0008901/0.0008901, allocations: 174.3 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.9019/0.9019, allocations: 177.1 MB / 203.6 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.02639/0.02639, allocations: 4.473 MB / 264.5 MB, free: 8.766 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.Tests.OneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneSource",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 389.6 MB, free: 7.426 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.405e-05/1.554e-05, allocations: 2.281 kB / 389.6 MB, free: 7.422 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneSource): time 0.001356/0.001372, allocations: 0.9063 MB / 390.5 MB, free: 6.52 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00109/0.002462, allocations: 1.182 MB / 391.7 MB, free: 5.324 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.626e-05/0.002508, allocations: 0 / 391.7 MB, free: 5.324 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002576/0.002766, allocations: 67.58 kB / 391.7 MB, free: 5.258 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001402/0.002906, allocations: 23.84 kB / 391.8 MB, free: 5.234 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.516e-05/0.002991, allocations: 43.83 kB / 391.8 MB, free: 5.191 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 8.629e-05/0.003077, allocations: 55.66 kB / 391.9 MB, free: 5.137 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.003203, allocations: 19.98 kB / 391.9 MB, free: 5.117 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.904e-05/0.003252, allocations: 27.98 kB / 391.9 MB, free: 5.09 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.326e-05/0.003325, allocations: 19.91 kB / 391.9 MB, free: 5.07 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.682e-05/0.003342, allocations: 4 kB / 391.9 MB, free: 5.066 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001274/0.003469, allocations: 75.77 kB / 392 MB, free: 4.992 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.85e-05/0.003488, allocations: 8 kB / 392 MB, free: 4.984 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.568e-05/0.003523, allocations: 27.91 kB / 392 MB, free: 4.957 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000199/0.003722, allocations: 119.6 kB / 392.1 MB, free: 4.84 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.003724, allocations: 0 / 392.1 MB, free: 4.84 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.003726, allocations: 0 / 392.1 MB, free: 4.84 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.309e-06/0.00373, allocations: 0 / 392.1 MB, free: 4.84 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005177/0.004248, allocations: 310 kB / 392.5 MB, free: 4.504 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.004288, allocations: 12.02 kB / 392.5 MB, free: 4.492 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.486e-05/0.004323, allocations: 42.75 kB / 392.5 MB, free: 4.441 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.509e-05/0.004348, allocations: 4.891 kB / 392.5 MB, free: 4.438 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.429e-05/0.004442, allocations: 117.7 kB / 392.6 MB, free: 4.297 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.004456, allocations: 4.375 kB / 392.6 MB, free: 4.293 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.607e-05/0.004472, allocations: 4.375 kB / 392.6 MB, free: 4.289 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001338/0.004605, allocations: 86.22 kB / 392.7 MB, free: 4.199 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.004613, allocations: 192 / 392.7 MB, free: 4.199 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-06/0.004622, allocations: 384 / 392.7 MB, free: 4.199 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.004628, allocations: 4.125 kB / 392.7 MB, free: 4.195 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.237e-05/0.004691, allocations: 47.92 kB / 392.8 MB, free: 4.148 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003698/0.00506, allocations: 303.7 kB / 393.1 MB, free: 3.809 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.644e-05/0.005107, allocations: 30.44 kB / 393.1 MB, free: 3.77 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.698e-05/0.005124, allocations: 16.91 kB / 393.1 MB, free: 3.75 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.32e-05/0.005197, allocations: 4 kB / 393.1 MB, free: 3.746 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.005216, allocations: 34.56 kB / 393.1 MB, free: 3.703 MB / 314.7 MB Notification: Performance of pre-optimization done (n=2): time 1.223e-06/0.005217, allocations: 3.938 kB / 393.2 MB, free: 3.699 MB / 314.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001237/0.005341, allocations: 45.69 kB / 393.2 MB, free: 3.648 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/0.005371, allocations: 55.34 kB / 393.3 MB, free: 3.582 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.669e-05/0.005458, allocations: 133.8 kB / 393.4 MB, free: 3.441 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.177e-06/0.005467, allocations: 25.7 kB / 393.4 MB, free: 3.41 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.168e-05/0.005509, allocations: 103.9 kB / 393.5 MB, free: 3.305 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.272e-06/0.005515, allocations: 7.953 kB / 393.5 MB, free: 3.297 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.045e-05/0.005546, allocations: 21.7 kB / 393.5 MB, free: 3.27 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.202e-05/0.005618, allocations: 314.8 kB / 393.8 MB, free: 2.953 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.814e-05/0.005636, allocations: 12.12 kB / 393.9 MB, free: 2.941 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.745e-05/0.005653, allocations: 15.98 kB / 393.9 MB, free: 2.926 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.559e-05/0.005689, allocations: 24.86 kB / 393.9 MB, free: 2.898 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.005691, allocations: 0 / 393.9 MB, free: 2.898 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.163e-05/0.005763, allocations: 69.64 kB / 394 MB, free: 2.824 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.005775, allocations: 11.94 kB / 394 MB, free: 2.812 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.005781, allocations: 3.984 kB / 394 MB, free: 2.809 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.005793, allocations: 0 / 394 MB, free: 2.809 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.841e-05/0.005851, allocations: 8 kB / 394 MB, free: 2.801 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.005856, allocations: 0 / 394 MB, free: 2.801 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.693e-05/0.005882, allocations: 7.875 kB / 394 MB, free: 2.793 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.005889, allocations: 8 kB / 394 MB, free: 2.785 MB / 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 (5): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.843e-05/0.005948, allocations: 109.8 kB / 394.1 MB, free: 2.668 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.444e-05/0.005962, allocations: 12.12 kB / 394.1 MB, free: 2.656 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.884e-05/0.006041, allocations: 49.28 kB / 394.2 MB, free: 2.602 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.006042, allocations: 0 / 394.2 MB, free: 2.602 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.006046, allocations: 0 / 394.2 MB, free: 2.602 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.006051, allocations: 7.922 kB / 394.2 MB, free: 2.594 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001132/0.006164, allocations: 140.7 kB / 394.3 MB, free: 2.414 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.006165, allocations: 0 / 394.3 MB, free: 2.414 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.201e-05/0.006177, allocations: 8 kB / 394.3 MB, free: 2.406 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.006179, allocations: 4.031 kB / 394.3 MB, free: 2.402 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.006184, allocations: 0 / 394.3 MB, free: 2.402 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.006187, allocations: 7.938 kB / 394.3 MB, free: 2.395 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.006187, allocations: 0 / 394.3 MB, free: 2.395 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.867e-05/0.006256, allocations: 135.5 kB / 394.5 MB, free: 2.246 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.247e-05/0.006268, allocations: 7.953 kB / 394.5 MB, free: 2.238 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.176e-05/0.00628, allocations: 3.984 kB / 394.5 MB, free: 2.234 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.938e-05/0.00631, allocations: 0 / 394.5 MB, free: 2.234 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.176e-05/0.006321, allocations: 0 / 394.5 MB, free: 2.234 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.00633, allocations: 7.938 kB / 394.5 MB, free: 2.227 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.813e-05/0.006368, allocations: 99.3 kB / 394.6 MB, free: 2.129 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006368, allocations: 0 / 394.6 MB, free: 2.129 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001705/0.006539, allocations: 15.94 kB / 394.6 MB, free: 2.113 MB / 314.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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003297/0.006868, allocations: 0.6734 MB / 395.3 MB, free: 1.414 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.253e-05/0.006951, allocations: 19.98 kB / 395.3 MB, free: 1.395 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.006954, allocations: 4.031 kB / 395.3 MB, free: 1.391 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.243e-06/0.006961, allocations: 7.938 kB / 395.3 MB, free: 1.383 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001603/0.007121, allocations: 11.94 kB / 395.3 MB, free: 1.371 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003903/0.007512, allocations: 174.3 kB / 395.5 MB, free: 1.16 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.77e-05/0.007559, allocations: 67.34 kB / 395.6 MB, free: 1.074 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.573e-05/0.007585, allocations: 11.97 kB / 395.6 MB, free: 1.062 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.595e-05/0.007621, allocations: 16.5 kB / 395.6 MB, free: 1.047 MB / 314.7 MB Notification: Performance of SimCode: time 6.82e-07/0.007622, allocations: 0 / 395.6 MB, free: 1.047 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01377/0.02139, allocations: 2.258 MB / 397.8 MB, free: 14.9 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.553/6.575, allocations: 11.33 kB / 397.8 MB, free: 14.89 MB / 330.7 MB " [Timeout remaining time 653] (rm -f PowerSysPro_PowerSysPro.Tests.OneSource.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneSource.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneSource.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_OneSource_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_OneSource.fmu > PowerSysPro_PowerSysPro.Tests.OneSource.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.306670418009162] Failed to read output from testmodel.py, exit status != 0: 6.655723514966667 6.664718022 6.659089911 Calling exit ...