Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.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.001323/0.001323, allocations: 109 kB / 20.52 MB, free: 1.434 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.001427/0.001427, allocations: 214.4 kB / 23.83 MB, free: 4.645 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.472/1.472, allocations: 230.6 MB / 257.6 MB, free: 7.992 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.03897/0.03897, allocations: 6.126 MB / 320.1 MB, free: 12.94 MB / 254.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.Examples.TwoSourcesOneLineThreeSensors,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_TwoSourcesOneLineThreeSensors",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.TwoSourcesOneLineThreeSensors,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_TwoSourcesOneLineThreeSensors",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001544/0.001544, allocations: 55.92 kB / 445.3 MB, free: 5.348 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1096, allocations: 55.01 MB / 0.4886 GB, free: 14.23 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.TwoSourcesOneLineThreeSensors): time 0.003266/0.1129, allocations: 1.749 MB / 0.4903 GB, free: 12.48 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002293/0.1152, allocations: 1.524 MB / 0.4918 GB, free: 10.95 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.768e-05/0.1153, allocations: 7.938 kB / 0.4918 GB, free: 10.94 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003954/0.1157, allocations: 131.3 kB / 0.4919 GB, free: 10.81 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002525/0.1159, allocations: 87.39 kB / 0.492 GB, free: 10.72 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001731/0.1177, allocations: 0.922 MB / 0.4929 GB, free: 9.797 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003262/0.118, allocations: 223 kB / 0.4931 GB, free: 9.578 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001785/0.1182, allocations: 88.5 kB / 0.4932 GB, free: 9.488 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.1183, allocations: 103.6 kB / 0.4933 GB, free: 9.387 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002062/0.1185, allocations: 123.5 kB / 0.4934 GB, free: 9.266 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.245e-05/0.1185, allocations: 20 kB / 0.4934 GB, free: 9.246 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004143/0.1189, allocations: 223.8 kB / 0.4936 GB, free: 9.027 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.744e-05/0.119, allocations: 51.78 kB / 0.4937 GB, free: 8.977 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001129/0.1191, allocations: 111.5 kB / 0.4938 GB, free: 8.867 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005396/0.1196, allocations: 410.5 kB / 0.4942 GB, free: 8.465 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.1196, allocations: 4 kB / 0.4942 GB, free: 8.461 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1196, allocations: 0 / 0.4942 GB, free: 8.461 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.1196, allocations: 4 kB / 0.4942 GB, free: 8.457 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.002264/0.1219, allocations: 0.6963 MB / 0.4949 GB, free: 7.727 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.1219, allocations: 8.031 kB / 0.4949 GB, free: 7.719 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.989e-05/0.122, allocations: 8.688 kB / 0.4949 GB, free: 7.711 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.706e-05/0.122, allocations: 58.73 kB / 0.4949 GB, free: 7.645 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.105e-05/0.1221, allocations: 28.73 kB / 0.495 GB, free: 7.617 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002442/0.1223, allocations: 181 kB / 0.4951 GB, free: 7.418 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/0.1223, allocations: 24.88 kB / 0.4952 GB, free: 7.395 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.778e-05/0.1224, allocations: 28.31 kB / 0.4952 GB, free: 7.367 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005342/0.1229, allocations: 304.3 kB / 0.4955 GB, free: 7.066 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.1229, allocations: 0 / 0.4955 GB, free: 7.066 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.768e-05/0.123, allocations: 8 kB / 0.4955 GB, free: 7.059 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.123, allocations: 8 kB / 0.4955 GB, free: 7.051 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005009/0.1235, allocations: 305.8 kB / 0.4958 GB, free: 6.746 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001491/0.125, allocations: 0.8449 MB / 0.4966 GB, free: 5.859 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005329/0.1255, allocations: 266.4 kB / 0.4969 GB, free: 5.59 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001867/0.1257, allocations: 112.8 kB / 0.497 GB, free: 5.477 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001024/0.1258, allocations: 16 kB / 0.497 GB, free: 5.461 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.1258, allocations: 30.56 kB / 0.497 GB, free: 5.422 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 1.402e-06/0.1258, allocations: 0 / 0.497 GB, free: 5.422 MB / 366.1 MB Notification: Performance of matching and sorting (n=26): time 0.001232/0.127, allocations: 438.6 kB / 0.4974 GB, free: 4.984 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.723e-05/0.1271, allocations: 55.41 kB / 0.4975 GB, free: 4.918 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001713/0.1273, allocations: 175.9 kB / 0.4977 GB, free: 4.738 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.881e-05/0.1273, allocations: 29.7 kB / 0.4977 GB, free: 4.703 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.1274, allocations: 152.6 kB / 0.4978 GB, free: 4.551 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.658e-05/0.1275, allocations: 83.28 kB / 0.4979 GB, free: 4.469 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/0.1276, allocations: 69.64 kB / 0.498 GB, free: 4.395 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.1277, allocations: 326.8 kB / 0.4983 GB, free: 4.066 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002098/0.1279, allocations: 128 kB / 0.4984 GB, free: 3.941 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002056/0.1282, allocations: 132.8 kB / 0.4985 GB, free: 3.812 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004313/0.1286, allocations: 273.2 kB / 0.4988 GB, free: 3.543 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/0.1286, allocations: 3.938 kB / 0.4988 GB, free: 3.539 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007534/0.1293, allocations: 394.2 kB / 0.4992 GB, free: 3.145 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.1294, allocations: 8 kB / 0.4992 GB, free: 3.137 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.1294, allocations: 0 / 0.4992 GB, free: 3.137 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000306/0.1297, allocations: 56.75 kB / 0.4992 GB, free: 3.078 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003385/0.13, allocations: 55.97 kB / 0.4993 GB, free: 3.023 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00175/0.1318, allocations: 1.459 MB / 0.5007 GB, free: 1.445 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002178/0.132, allocations: 23.81 kB / 0.5007 GB, free: 1.422 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.115e-05/0.132, allocations: 12 kB / 0.5008 GB, free: 1.41 MB / 366.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 (35): * Single equations (assignments): 34 * 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 0.0002013/0.1322, allocations: 141.8 kB / 0.5009 GB, free: 1.262 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.17e-05/0.1323, allocations: 15.84 kB / 0.5009 GB, free: 1.246 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007547/0.133, allocations: 339.6 kB / 0.5012 GB, free: 0.9062 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.133, allocations: 4 kB / 0.5012 GB, free: 0.9023 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.133, allocations: 0 / 0.5012 GB, free: 0.9023 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.133, allocations: 0 / 0.5012 GB, free: 0.9023 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001197/0.1342, allocations: 0.7298 MB / 0.5019 GB, free: 120 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.1342, allocations: 0 / 0.5019 GB, free: 120 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002285/0.1345, allocations: 43.92 kB / 0.502 GB, free: 76 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002317/0.1347, allocations: 56.75 kB / 0.502 GB, free: 16 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.289e-05/0.1347, allocations: 8 kB / 0.5021 GB, free: 8 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001512/0.1362, allocations: 1.432 MB / 0.5035 GB, free: 14.46 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1362, allocations: 4.156 kB / 0.5035 GB, free: 14.46 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006443/0.1369, allocations: 393 kB / 0.5038 GB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.85e-05/0.1369, allocations: 23.83 kB / 0.5039 GB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.648e-05/0.137, allocations: 0 / 0.5039 GB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001505/0.1371, allocations: 8 kB / 0.5039 GB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.22e-05/0.1372, allocations: 23.91 kB / 0.5039 GB, free: 14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-05/0.1372, allocations: 4 kB / 0.5039 GB, free: 14 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001248/0.1373, allocations: 134.9 kB / 0.504 GB, free: 13.87 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1373, allocations: 3.938 kB / 0.504 GB, free: 13.87 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004206/0.1377, allocations: 79.89 kB / 0.5041 GB, free: 13.79 MB / 382.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 (25): * Single equations (assignments): 24 * 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.001119/0.1388, allocations: 0.9395 MB / 0.505 GB, free: 12.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009016/0.1397, allocations: 390.9 kB / 0.5054 GB, free: 12.42 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.1397, allocations: 0 / 0.5054 GB, free: 12.42 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005205/0.1403, allocations: 246.5 kB / 0.5056 GB, free: 12.17 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002645/0.1405, allocations: 18.91 kB / 0.5056 GB, free: 12.15 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003588/0.1441, allocations: 2.508 MB / 0.5081 GB, free: 9.559 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003792/0.1445, allocations: 0.7398 MB / 0.5088 GB, free: 8.793 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001262/0.1446, allocations: 25.61 kB / 0.5088 GB, free: 8.77 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001377/0.1448, allocations: 75.41 kB / 0.5089 GB, free: 8.695 MB / 382.1 MB Notification: Performance of SimCode: time 1.182e-06/0.1448, allocations: 0 / 0.5089 GB, free: 8.695 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04141/0.1862, allocations: 5.175 MB / 0.514 GB, free: 3.66 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/11.8, allocations: 4.062 kB / 0.514 GB, free: 3.656 MB / 382.1 MB " [Timeout remaining time 648] (rm -f PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_TwoSourcesOneLineThreeSensors_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_TwoSourcesOneLineThreeSensors.fmu > PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.692618469009176] Failed to read output from testmodel.py, exit status != 0: 11.967253466020338 12.187467204 12.064738985 Calling exit ...