Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneLoad.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.001413/0.001413, allocations: 115.5 kB / 19.74 MB, free: 2.152 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.001696/0.001696, allocations: 217.8 kB / 23.05 MB, free: 4.996 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.572/1.572, allocations: 230.6 MB / 256.8 MB, free: 8.055 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.04066/0.04066, allocations: 6.14 MB / 319.4 MB, free: 12.99 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.Tests.OneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001546/0.001546, allocations: 47.92 kB / 444.5 MB, free: 5.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1093, allocations: 55.03 MB / 499.5 MB, free: 14.34 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneLoad): time 0.002445/0.1118, allocations: 0.9981 MB / 0.4888 GB, free: 13.34 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001625/0.1134, allocations: 1.147 MB / 0.4899 GB, free: 12.18 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.583e-05/0.1134, allocations: 0 / 0.4899 GB, free: 12.18 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002633/0.1137, allocations: 55.72 kB / 0.49 GB, free: 12.13 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001603/0.1139, allocations: 35.77 kB / 0.49 GB, free: 12.09 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006867/0.1146, allocations: 294.8 kB / 0.4903 GB, free: 11.8 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001234/0.1147, allocations: 79.66 kB / 0.4903 GB, free: 11.73 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.1148, allocations: 28.2 kB / 0.4904 GB, free: 11.7 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.344e-05/0.1148, allocations: 31.91 kB / 0.4904 GB, free: 11.67 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001277/0.115, allocations: 43.73 kB / 0.4904 GB, free: 11.62 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.025e-05/0.115, allocations: 8 kB / 0.4905 GB, free: 11.62 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001818/0.1152, allocations: 79.95 kB / 0.4905 GB, free: 11.54 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.532e-05/0.1152, allocations: 19.92 kB / 0.4905 GB, free: 11.52 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.81e-05/0.1152, allocations: 35.8 kB / 0.4906 GB, free: 11.48 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002655/0.1155, allocations: 139.5 kB / 0.4907 GB, free: 11.35 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1155, allocations: 0 / 0.4907 GB, free: 11.35 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1155, allocations: 0 / 0.4907 GB, free: 11.35 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.103e-05/0.1155, allocations: 4 kB / 0.4907 GB, free: 11.34 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000823/0.1163, allocations: 345.8 kB / 0.491 GB, free: 10.97 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.1164, allocations: 8.031 kB / 0.4911 GB, free: 10.96 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.878e-05/0.1164, allocations: 42.73 kB / 0.4911 GB, free: 10.91 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.552e-05/0.1165, allocations: 8.891 kB / 0.4911 GB, free: 10.91 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001831/0.1167, allocations: 130.4 kB / 0.4912 GB, free: 10.75 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.1167, allocations: 4.359 kB / 0.4912 GB, free: 10.75 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.829e-05/0.1167, allocations: 16.38 kB / 0.4912 GB, free: 10.73 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001903/0.1169, allocations: 78.23 kB / 0.4913 GB, free: 10.65 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.1169, allocations: 3.938 kB / 0.4913 GB, free: 10.65 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/0.1169, allocations: 4 kB / 0.4913 GB, free: 10.64 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.1169, allocations: 0 / 0.4913 GB, free: 10.64 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.773e-05/0.117, allocations: 51.98 kB / 0.4914 GB, free: 10.59 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000547/0.1176, allocations: 335.6 kB / 0.4917 GB, free: 10.22 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003316/0.1179, allocations: 78.55 kB / 0.4918 GB, free: 10.14 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.092e-05/0.1179, allocations: 20.98 kB / 0.4918 GB, free: 10.11 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.597e-05/0.118, allocations: 4 kB / 0.4918 GB, free: 10.11 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.835e-05/0.1181, allocations: 30.56 kB / 0.4918 GB, free: 10.07 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.1181, allocations: 0 / 0.4918 GB, free: 10.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005112/0.1186, allocations: 122.3 kB / 0.4919 GB, free: 9.941 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.278e-05/0.1186, allocations: 59.41 kB / 0.492 GB, free: 9.871 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001287/0.1187, allocations: 113.8 kB / 0.4921 GB, free: 9.75 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.126e-05/0.1188, allocations: 29.7 kB / 0.4921 GB, free: 9.715 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.834e-05/0.1189, allocations: 104.1 kB / 0.4922 GB, free: 9.609 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.712e-05/0.1189, allocations: 15.83 kB / 0.4923 GB, free: 9.594 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.848e-05/0.1189, allocations: 17.72 kB / 0.4923 GB, free: 9.57 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.1191, allocations: 322.8 kB / 0.4926 GB, free: 9.246 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.512e-05/0.1191, allocations: 11.98 kB / 0.4926 GB, free: 9.234 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.979e-05/0.1191, allocations: 4 kB / 0.4926 GB, free: 9.23 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.798e-05/0.1192, allocations: 32.86 kB / 0.4926 GB, free: 9.195 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.1192, allocations: 0 / 0.4926 GB, free: 9.195 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002042/0.1194, allocations: 90.36 kB / 0.4927 GB, free: 9.098 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.1194, allocations: 4 kB / 0.4927 GB, free: 9.094 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.1194, allocations: 3.938 kB / 0.4927 GB, free: 9.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002065/0.1196, allocations: 32.83 kB / 0.4927 GB, free: 9.055 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.255e-05/0.1196, allocations: 4 kB / 0.4928 GB, free: 9.051 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001406/0.121, allocations: 1.28 MB / 0.494 GB, free: 7.652 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.57e-05/0.1211, allocations: 3.938 kB / 0.494 GB, free: 7.648 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.1211, allocations: 8.031 kB / 0.494 GB, free: 7.641 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 (4): * Single equations (assignments): 3 * 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.0001038/0.1212, allocations: 117.9 kB / 0.4941 GB, free: 7.516 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.188e-05/0.1212, allocations: 11.89 kB / 0.4941 GB, free: 7.504 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002418/0.1215, allocations: 98.52 kB / 0.4942 GB, free: 7.398 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.1215, allocations: 3.938 kB / 0.4942 GB, free: 7.395 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.1215, allocations: 0 / 0.4942 GB, free: 7.395 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.1215, allocations: 0 / 0.4942 GB, free: 7.395 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002222/0.1217, allocations: 164.6 kB / 0.4944 GB, free: 7.191 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1217, allocations: 0 / 0.4944 GB, free: 7.191 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.33e-05/0.1217, allocations: 8 kB / 0.4944 GB, free: 7.184 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001389/0.1219, allocations: 24.84 kB / 0.4944 GB, free: 7.156 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.1219, allocations: 7.984 kB / 0.4944 GB, free: 7.148 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001286/0.1232, allocations: 1.268 MB / 0.4957 GB, free: 5.766 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1232, allocations: 0 / 0.4957 GB, free: 5.766 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002616/0.1234, allocations: 196.5 kB / 0.4959 GB, free: 5.555 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.707e-05/0.1235, allocations: 11.94 kB / 0.4959 GB, free: 5.543 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.226e-05/0.1235, allocations: 4 kB / 0.4959 GB, free: 5.539 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.483e-05/0.1236, allocations: 7.984 kB / 0.4959 GB, free: 5.531 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.163e-05/0.1236, allocations: 4 kB / 0.4959 GB, free: 5.527 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.644e-06/0.1236, allocations: 4 kB / 0.4959 GB, free: 5.523 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001685/0.1238, allocations: 95.2 kB / 0.496 GB, free: 5.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1238, allocations: 0 / 0.496 GB, free: 5.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002781/0.124, allocations: 24 kB / 0.496 GB, free: 5.406 MB / 366.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 (5): * Single equations (assignments): 4 * 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.0006431/0.1247, allocations: 0.7288 MB / 0.4967 GB, free: 4.645 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003303/0.125, allocations: 150.7 kB / 0.4969 GB, free: 4.484 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.682e-06/0.125, allocations: 4 kB / 0.4969 GB, free: 4.48 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002022/0.1252, allocations: 138.6 kB / 0.497 GB, free: 4.332 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003436/0.1256, allocations: 12.22 kB / 0.497 GB, free: 4.32 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00185/0.1274, allocations: 1.421 MB / 0.4984 GB, free: 2.812 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004191/0.1278, allocations: 0.6963 MB / 0.4991 GB, free: 2.09 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.363e-05/0.1279, allocations: 4 kB / 0.4991 GB, free: 2.086 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.969e-05/0.1279, allocations: 19.44 kB / 0.4991 GB, free: 2.07 MB / 366.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1279, allocations: 0 / 0.4991 GB, free: 2.07 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0332/0.1611, allocations: 2.601 MB / 0.5016 GB, free: 15.6 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.48, allocations: 11.94 kB / 0.5016 GB, free: 15.59 MB / 382.1 MB " [Timeout remaining time 648] (rm -f PowerSysPro_PowerSysPro.Tests.OneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_OneLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_OneLoad.fmu > PowerSysPro_PowerSysPro.Tests.OneLoad.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.211156524950638] Failed to read output from testmodel.py, exit status != 0: 11.591256615938619 11.623791833 11.502922154 Calling exit ...