Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.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.001623/0.001623, allocations: 101.9 kB / 20.52 MB, free: 1.348 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.001752/0.001752, allocations: 217.8 kB / 23.82 MB, free: 4.512 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.812 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.03884/0.03884, allocations: 6.143 MB / 320.1 MB, free: 12.84 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.ExampleWithFMUs.MVLVNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetwork",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetwork",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001634/0.001634, allocations: 43.92 kB / 445.2 MB, free: 5.152 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1115, allocations: 55.02 MB / 0.4885 GB, free: 14.03 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork): time 0.004628/0.1161, allocations: 2.825 MB / 0.4913 GB, free: 11.2 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004067/0.1201, allocations: 1.851 MB / 0.4931 GB, free: 9.336 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002473/0.1204, allocations: 8 kB / 0.4931 GB, free: 9.328 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005352/0.1209, allocations: 198.8 kB / 0.4933 GB, free: 9.133 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007682/0.1217, allocations: 314 kB / 0.4936 GB, free: 8.824 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002607/0.1243, allocations: 1.18 MB / 0.4947 GB, free: 7.645 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001172/0.1255, allocations: 0.6453 MB / 0.4954 GB, free: 6.996 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003032/0.1258, allocations: 143.7 kB / 0.4955 GB, free: 6.852 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003258/0.1261, allocations: 275 kB / 0.4958 GB, free: 6.582 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004543/0.1266, allocations: 342.6 kB / 0.4961 GB, free: 6.246 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.718e-05/0.1266, allocations: 52 kB / 0.4961 GB, free: 6.195 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006936/0.1273, allocations: 295.7 kB / 0.4964 GB, free: 5.906 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001374/0.1275, allocations: 131.5 kB / 0.4965 GB, free: 5.777 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002817/0.1278, allocations: 254.8 kB / 0.4968 GB, free: 5.527 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001199/0.129, allocations: 0.825 MB / 0.4976 GB, free: 4.699 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.129, allocations: 0 / 0.4976 GB, free: 4.699 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.265e-06/0.129, allocations: 0 / 0.4976 GB, free: 4.699 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.316e-05/0.129, allocations: 0 / 0.4976 GB, free: 4.699 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.00762/0.1366, allocations: 1.823 MB / 0.4994 GB, free: 2.84 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.445e-05/0.1367, allocations: 8.031 kB / 0.4994 GB, free: 2.832 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.964e-05/0.1367, allocations: 13.19 kB / 0.4994 GB, free: 2.816 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001379/0.1368, allocations: 86.7 kB / 0.4995 GB, free: 2.723 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001585/0.137, allocations: 68.52 kB / 0.4995 GB, free: 2.656 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006361/0.1376, allocations: 368.4 kB / 0.4999 GB, free: 2.273 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.337e-05/0.1377, allocations: 37.38 kB / 0.4999 GB, free: 2.234 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001021/0.1378, allocations: 56.38 kB / 0.5 GB, free: 2.18 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001419/0.1392, allocations: 1.081 MB / 0.501 GB, free: 1 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.1392, allocations: 0 / 0.501 GB, free: 1 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.882e-05/0.1393, allocations: 20 kB / 0.501 GB, free: 0.9805 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.1393, allocations: 12 kB / 0.5011 GB, free: 0.9688 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001091/0.1404, allocations: 0.6833 MB / 0.5017 GB, free: 288 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003572/0.1439, allocations: 1.679 MB / 0.5034 GB, free: 14.55 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001455/0.1454, allocations: 0.7817 MB / 0.5041 GB, free: 13.77 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007259/0.1461, allocations: 426.7 kB / 0.5045 GB, free: 13.35 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.869e-05/0.1462, allocations: 20.64 kB / 0.5046 GB, free: 13.33 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.372e-05/0.1463, allocations: 39.22 kB / 0.5046 GB, free: 13.28 MB / 382.1 MB Notification: Performance of pre-optimization done (n=73): time 2.885e-06/0.1463, allocations: 0 / 0.5046 GB, free: 13.28 MB / 382.1 MB Notification: Performance of matching and sorting (n=73): time 0.01257/0.1588, allocations: 3.124 MB / 0.5076 GB, free: 10.15 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001279/0.159, allocations: 111.5 kB / 0.5077 GB, free: 10.01 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006483/0.1596, allocations: 381.5 kB / 0.5081 GB, free: 9.633 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001659/0.1598, allocations: 41.7 kB / 0.5082 GB, free: 9.586 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001992/0.16, allocations: 201.6 kB / 0.5083 GB, free: 9.383 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003122/0.1603, allocations: 265.7 kB / 0.5086 GB, free: 9.121 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003424/0.1606, allocations: 158.6 kB / 0.5088 GB, free: 8.961 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002205/0.1608, allocations: 358.8 kB / 0.5091 GB, free: 8.602 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007533/0.1616, allocations: 473.8 kB / 0.5095 GB, free: 8.141 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008438/0.1624, allocations: 0.5789 MB / 0.5101 GB, free: 7.539 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001586/0.164, allocations: 1.033 MB / 0.5111 GB, free: 6.508 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.164, allocations: 0 / 0.5111 GB, free: 6.508 MB / 382.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.005877/0.1699, allocations: 1.984 MB / 0.5131 GB, free: 4.512 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.93e-05/0.1699, allocations: 4 kB / 0.5131 GB, free: 4.508 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.1699, allocations: 3.938 kB / 0.5131 GB, free: 4.504 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006322/0.1763, allocations: 1.453 MB / 0.5145 GB, free: 3.047 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006367/0.1769, allocations: 131.8 kB / 0.5146 GB, free: 2.918 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2356/0.4125, allocations: 6.016 MB / 0.5205 GB, free: 28.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006224/0.4131, allocations: 81.11 kB / 0.5206 GB, free: 28.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-05/0.4132, allocations: 28.88 kB / 0.5206 GB, free: 28.02 MB / 382.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 (75): * Single equations (assignments): 74 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(16,14)} Notification: Performance of prepare postOptimizeDAE: time 0.000228/0.4134, allocations: 191.5 kB / 0.5208 GB, free: 27.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001128/0.4135, allocations: 56.22 kB / 0.5208 GB, free: 27.88 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005215/0.4188, allocations: 1.956 MB / 0.5227 GB, free: 27.78 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-05/0.4188, allocations: 9.203 kB / 0.5227 GB, free: 27.78 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.4188, allocations: 0.7188 kB / 0.5227 GB, free: 27.78 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/0.4188, allocations: 4.531 kB / 0.5227 GB, free: 27.78 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006/0.4248, allocations: 2.598 MB / 0.5253 GB, free: 26.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/0.4248, allocations: 0 / 0.5253 GB, free: 26.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00033/0.4251, allocations: 94.61 kB / 0.5254 GB, free: 26.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005622/0.4307, allocations: 1.28 MB / 0.5266 GB, free: 26.7 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.005e-05/0.4308, allocations: 18.14 kB / 0.5266 GB, free: 26.69 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0105/0.4413, allocations: 5.949 MB / 0.5325 GB, free: 23.07 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.616e-06/0.4413, allocations: 1.578 kB / 0.5325 GB, free: 23.07 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005606/0.4469, allocations: 1.908 MB / 0.5343 GB, free: 22.29 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00016/0.4471, allocations: 73.86 kB / 0.5344 GB, free: 22.25 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001125/0.4472, allocations: 17.97 kB / 0.5344 GB, free: 22.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005695/0.4478, allocations: 43.34 kB / 0.5344 GB, free: 22.22 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003237/0.4481, allocations: 64.88 kB / 0.5345 GB, free: 22.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.489e-05/0.4482, allocations: 30.67 kB / 0.5345 GB, free: 22.2 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003503/0.4486, allocations: 257.3 kB / 0.5348 GB, free: 22.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4486, allocations: 0 / 0.5348 GB, free: 22.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001019/0.4496, allocations: 275.5 kB / 0.535 GB, free: 22.04 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 (56): * Single equations (assignments): 55 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(16,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005384/0.455, allocations: 2.493 MB / 0.5375 GB, free: 20.7 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004082/0.459, allocations: 1.606 MB / 0.539 GB, free: 20.01 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.459, allocations: 1.031 kB / 0.5391 GB, free: 20.01 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002911/0.462, allocations: 1.053 MB / 0.5401 GB, free: 19.56 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005736/0.4625, allocations: 65.3 kB / 0.5401 GB, free: 19.52 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01531/0.4778, allocations: 7.759 MB / 0.5477 GB, free: 15.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002744/0.4781, allocations: 280.4 kB / 0.548 GB, free: 15.64 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002825/0.4784, allocations: 78.5 kB / 0.5481 GB, free: 15.62 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002251/0.4786, allocations: 204.6 kB / 0.5483 GB, free: 15.48 MB / 382.1 MB Notification: Performance of SimCode: time 6.71e-07/0.4786, allocations: 2.719 kB / 0.5483 GB, free: 15.48 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05091/0.5295, allocations: 23.78 MB / 0.5715 GB, free: 9.027 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.31/14.84, allocations: 5.688 kB / 0.5715 GB, free: 9.023 MB / 398.1 MB " [Timeout remaining time 645] (rm -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetwork_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetwork.fmu > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.61001775204204] Failed to read output from testmodel.py, exit status != 0: 15.019701129058376 15.044927259 14.91245643 Calling exit ...