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.00162/0.00162, allocations: 109.2 kB / 17.16 MB, free: 5.855 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.00167/0.00167, allocations: 213.1 kB / 20.14 MB, free: 2.898 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.518/1.518, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.04757/0.04757, allocations: 6.141 MB / 315.7 MB, free: 1.129 MB / 238.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.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 0.001609/0.001609, allocations: 49.98 kB / 439.2 MB, free: 40.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1169, allocations: 54.97 MB / 494.2 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneSource): time 0.002033/0.119, allocations: 0.9279 MB / 495.1 MB, free: 9.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001252/0.1202, allocations: 1.217 MB / 496.3 MB, free: 8.359 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.006e-05/0.1203, allocations: 0 / 496.3 MB, free: 8.359 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000285/0.1206, allocations: 59.7 kB / 496.4 MB, free: 8.301 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001457/0.1207, allocations: 23.84 kB / 496.4 MB, free: 8.277 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.823e-05/0.1208, allocations: 47.83 kB / 496.5 MB, free: 8.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.23e-05/0.1209, allocations: 51.73 kB / 496.5 MB, free: 8.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.121, allocations: 24.25 kB / 496.5 MB, free: 8.156 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.835e-05/0.1211, allocations: 15.94 kB / 496.6 MB, free: 8.141 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.872e-05/0.1211, allocations: 31.86 kB / 496.6 MB, free: 8.109 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.485e-05/0.1212, allocations: 4 kB / 496.6 MB, free: 8.105 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001579/0.1213, allocations: 75.89 kB / 496.7 MB, free: 8.031 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.495e-05/0.1213, allocations: 11.94 kB / 496.7 MB, free: 8.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.347e-05/0.1214, allocations: 27.86 kB / 496.7 MB, free: 7.992 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000216/0.1216, allocations: 119.5 kB / 496.8 MB, free: 7.875 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1216, allocations: 4 kB / 496.8 MB, free: 7.871 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.1216, allocations: 0 / 496.8 MB, free: 7.871 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.1216, allocations: 0 / 496.8 MB, free: 7.871 MB / 350.1 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.0006366/0.1222, allocations: 391 kB / 497.2 MB, free: 7.438 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.1223, allocations: 12.03 kB / 497.2 MB, free: 7.426 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.365e-05/0.1223, allocations: 38.73 kB / 497.3 MB, free: 7.379 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.181e-05/0.1223, allocations: 8.891 kB / 497.3 MB, free: 7.371 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001427/0.1225, allocations: 172.3 kB / 497.4 MB, free: 7.164 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-06/0.1225, allocations: 4.375 kB / 497.4 MB, free: 7.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.598e-05/0.1225, allocations: 8.375 kB / 497.4 MB, free: 7.152 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.1227, allocations: 86.22 kB / 497.5 MB, free: 7.062 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.1227, allocations: 3.938 kB / 497.5 MB, free: 7.059 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.1227, allocations: 0 / 497.5 MB, free: 7.059 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.1227, allocations: 4 kB / 497.5 MB, free: 7.055 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.496e-05/0.1228, allocations: 43.97 kB / 497.6 MB, free: 7.012 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004338/0.1232, allocations: 348.6 kB / 497.9 MB, free: 6.621 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.637e-05/0.1233, allocations: 26.52 kB / 497.9 MB, free: 6.586 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.07e-05/0.1233, allocations: 12.92 kB / 498 MB, free: 6.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001131/0.1234, allocations: 77.11 kB / 498 MB, free: 6.477 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.767e-05/0.1234, allocations: 38.55 kB / 498.1 MB, free: 6.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.312e-06/0.1234, allocations: 0 / 498.1 MB, free: 6.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001707/0.1236, allocations: 41.64 kB / 498.1 MB, free: 6.383 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.571e-05/0.1236, allocations: 55.53 kB / 498.2 MB, free: 6.316 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.954e-05/0.1237, allocations: 133.7 kB / 498.3 MB, free: 6.176 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.386e-06/0.1237, allocations: 25.7 kB / 498.3 MB, free: 6.145 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.9e-05/0.1238, allocations: 108 kB / 498.4 MB, free: 6.035 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.943e-06/0.1238, allocations: 7.953 kB / 498.4 MB, free: 6.027 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.635e-05/0.1238, allocations: 25.7 kB / 498.5 MB, free: 5.996 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.254e-05/0.1239, allocations: 310.8 kB / 498.8 MB, free: 5.684 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.784e-05/0.1239, allocations: 15.98 kB / 498.8 MB, free: 5.668 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.178e-05/0.1239, allocations: 12 kB / 498.8 MB, free: 5.656 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.553e-05/0.1239, allocations: 36.97 kB / 498.8 MB, free: 5.617 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.124, allocations: 0 / 498.8 MB, free: 5.617 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.025e-05/0.124, allocations: 73.58 kB / 498.9 MB, free: 5.539 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.1241, allocations: 6.031 kB / 498.9 MB, free: 5.535 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.1241, allocations: 0 / 498.9 MB, free: 5.535 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.1241, allocations: 7.938 kB / 498.9 MB, free: 5.527 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.823e-05/0.1242, allocations: 7.938 kB / 498.9 MB, free: 5.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.1242, allocations: 0 / 498.9 MB, free: 5.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.403e-05/0.1242, allocations: 7.938 kB / 498.9 MB, free: 5.512 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.1242, allocations: 3.984 kB / 498.9 MB, free: 5.508 MB / 350.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: 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 6.233e-05/0.1243, allocations: 118.4 kB / 499 MB, free: 5.383 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.587e-05/0.1243, allocations: 3.953 kB / 499.1 MB, free: 5.379 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.774e-05/0.1244, allocations: 49.22 kB / 499.1 MB, free: 5.316 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.1244, allocations: 3.938 kB / 499.1 MB, free: 5.312 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.1244, allocations: 0 / 499.1 MB, free: 5.312 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.1244, allocations: 0 / 499.1 MB, free: 5.312 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001322/0.1246, allocations: 177.6 kB / 499.3 MB, free: 5.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.1246, allocations: 0 / 499.3 MB, free: 5.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.183e-05/0.1246, allocations: 4.031 kB / 499.3 MB, free: 5.086 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1246, allocations: 4 kB / 499.3 MB, free: 5.082 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.1246, allocations: 0 / 499.3 MB, free: 5.082 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.1246, allocations: 3.938 kB / 499.3 MB, free: 5.078 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.1246, allocations: 0 / 499.3 MB, free: 5.078 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.268e-05/0.1247, allocations: 135.5 kB / 499.4 MB, free: 4.93 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.892e-05/0.1247, allocations: 77.11 kB / 499.5 MB, free: 4.836 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/0.1247, allocations: 3.984 kB / 499.5 MB, free: 4.832 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.945e-05/0.1248, allocations: 7.969 kB / 499.5 MB, free: 4.824 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.875e-05/0.1248, allocations: 0 / 499.5 MB, free: 4.824 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.1248, allocations: 8.062 kB / 499.5 MB, free: 4.816 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.898e-05/0.1248, allocations: 99.25 kB / 499.6 MB, free: 4.719 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1248, allocations: 0 / 499.6 MB, free: 4.719 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002555/0.1251, allocations: 19.89 kB / 499.6 MB, free: 4.699 MB / 350.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: 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.0002884/0.1254, allocations: 0.6734 MB / 0.4886 GB, free: 4 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001159/0.1255, allocations: 27.98 kB / 0.4886 GB, free: 3.973 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1255, allocations: 0 / 0.4886 GB, free: 3.973 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.154e-05/0.1255, allocations: 7.938 kB / 0.4886 GB, free: 3.965 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002167/0.1257, allocations: 11.16 kB / 0.4886 GB, free: 3.961 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004633/0.1262, allocations: 191.5 kB / 0.4888 GB, free: 3.738 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001087/0.1263, allocations: 0.6922 MB / 0.4895 GB, free: 3.02 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.893e-05/0.1263, allocations: 0 / 0.4895 GB, free: 3.02 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.984e-05/0.1264, allocations: 23.42 kB / 0.4895 GB, free: 2.996 MB / 350.1 MB Notification: Performance of SimCode: time 7.42e-07/0.1264, allocations: 0 / 0.4895 GB, free: 2.996 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0246/0.151, allocations: 1.593 MB / 0.4911 GB, free: 1.449 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.217/8.368, allocations: 16.81 kB / 0.4911 GB, free: 1.441 MB / 350.1 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Tests.OneSource_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_Tests_OneSource.fmu > PowerSysPro_PowerSysPro.Tests.OneSource.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.339353974995902] Failed to read output from testmodel.py, exit status != 0: 8.43869312100287 8.461368231 8.335372573 Calling exit ...