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.001332/0.001332, allocations: 101 kB / 20.52 MB, free: 1.449 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.001483/0.001483, allocations: 209.7 kB / 23.84 MB, free: 4.664 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.489/1.489, allocations: 230.6 MB / 257.6 MB, free: 7.988 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.04385/0.04385, allocations: 6.136 MB / 320.2 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.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.00151/0.00151, allocations: 43.94 kB / 445.3 MB, free: 5.367 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1178, allocations: 55.02 MB / 0.4886 GB, free: 14.25 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork): time 0.00676/0.1246, allocations: 3.261 MB / 0.4918 GB, free: 10.98 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004446/0.129, allocations: 1.913 MB / 0.4936 GB, free: 9.051 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004267/0.1295, allocations: 12 kB / 0.4937 GB, free: 9.039 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007796/0.1302, allocations: 206.7 kB / 0.4939 GB, free: 8.836 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001184/0.1314, allocations: 310 kB / 0.4941 GB, free: 8.531 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003762/0.1352, allocations: 1.292 MB / 0.4954 GB, free: 7.238 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001893/0.1371, allocations: 0.6337 MB / 0.496 GB, free: 6.602 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004699/0.1376, allocations: 143.7 kB / 0.4962 GB, free: 6.457 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005734/0.1381, allocations: 279 kB / 0.4964 GB, free: 6.184 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006883/0.1388, allocations: 334.5 kB / 0.4967 GB, free: 5.855 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001046/0.1389, allocations: 52 kB / 0.4968 GB, free: 5.805 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009739/0.1399, allocations: 303.8 kB / 0.4971 GB, free: 5.508 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001585/0.1401, allocations: 139.4 kB / 0.4972 GB, free: 5.371 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004342/0.1405, allocations: 314.4 kB / 0.4975 GB, free: 5.062 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001659/0.1421, allocations: 0.8211 MB / 0.4983 GB, free: 4.238 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.1422, allocations: 0 / 0.4983 GB, free: 4.238 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.1422, allocations: 0 / 0.4983 GB, free: 4.238 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.23e-05/0.1422, allocations: 3.938 kB / 0.4983 GB, free: 4.234 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.01147/0.1536, allocations: 1.811 MB / 0.5001 GB, free: 2.387 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.311e-05/0.1537, allocations: 12.03 kB / 0.5001 GB, free: 2.375 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.137e-05/0.1538, allocations: 13.12 kB / 0.5001 GB, free: 2.359 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001586/0.1539, allocations: 94.69 kB / 0.5002 GB, free: 2.258 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002456/0.1542, allocations: 72.52 kB / 0.5003 GB, free: 2.188 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008922/0.155, allocations: 364.5 kB / 0.5006 GB, free: 1.809 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.234e-05/0.1551, allocations: 37.38 kB / 0.5007 GB, free: 1.77 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001419/0.1552, allocations: 52.38 kB / 0.5007 GB, free: 1.719 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001806/0.157, allocations: 0.7335 MB / 0.5014 GB, free: 0.9727 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.817e-05/0.1571, allocations: 0 / 0.5014 GB, free: 0.9727 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.87e-05/0.1572, allocations: 16 kB / 0.5014 GB, free: 0.957 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.832e-05/0.1572, allocations: 16 kB / 0.5015 GB, free: 0.9414 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001674/0.1589, allocations: 0.6794 MB / 0.5021 GB, free: 264 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005658/0.1645, allocations: 2.198 MB / 0.5043 GB, free: 13.94 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002097/0.1666, allocations: 0.7934 MB / 0.505 GB, free: 13.14 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009921/0.1676, allocations: 426.7 kB / 0.5055 GB, free: 12.72 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000119/0.1677, allocations: 16.64 kB / 0.5055 GB, free: 12.71 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.793e-05/0.1678, allocations: 51.2 kB / 0.5055 GB, free: 12.64 MB / 382.1 MB Notification: Performance of pre-optimization done (n=73): time 3.316e-06/0.1678, allocations: 0 / 0.5055 GB, free: 12.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=73): time 0.01722/0.185, allocations: 3.117 MB / 0.5086 GB, free: 9.52 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001035/0.1851, allocations: 111.5 kB / 0.5087 GB, free: 9.383 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007142/0.1858, allocations: 377.5 kB / 0.509 GB, free: 9.008 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001532/0.186, allocations: 41.7 kB / 0.5091 GB, free: 8.961 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002421/0.1862, allocations: 205.6 kB / 0.5093 GB, free: 8.754 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003639/0.1866, allocations: 269.6 kB / 0.5095 GB, free: 8.488 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004375/0.187, allocations: 150.6 kB / 0.5097 GB, free: 8.336 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002248/0.1873, allocations: 358.8 kB / 0.51 GB, free: 7.977 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001175/0.1884, allocations: 481.8 kB / 0.5105 GB, free: 7.508 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001284/0.1897, allocations: 0.5287 MB / 0.511 GB, free: 6.969 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002546/0.1923, allocations: 1.033 MB / 0.512 GB, free: 5.938 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.732e-06/0.1923, allocations: 0 / 0.512 GB, free: 5.938 MB / 382.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.008011/0.2003, allocations: 1.988 MB / 0.5139 GB, free: 3.938 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.914e-05/0.2003, allocations: 4 kB / 0.5139 GB, free: 3.934 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.622e-05/0.2003, allocations: 7.922 kB / 0.5139 GB, free: 3.926 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008131/0.2084, allocations: 1.457 MB / 0.5154 GB, free: 2.465 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008597/0.2093, allocations: 127.8 kB / 0.5155 GB, free: 2.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.236/0.4453, allocations: 6.169 MB / 0.5215 GB, free: 28.26 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007173/0.446, allocations: 85.58 kB / 0.5216 GB, free: 28.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.35e-05/0.4461, allocations: 26.28 kB / 0.5216 GB, free: 28.24 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.0002829/0.4464, allocations: 192.6 kB / 0.5218 GB, free: 28.12 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000129/0.4465, allocations: 58.02 kB / 0.5219 GB, free: 28.09 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005713/0.4522, allocations: 1.958 MB / 0.5238 GB, free: 27.81 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.279e-05/0.4522, allocations: 8.094 kB / 0.5238 GB, free: 27.81 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.4522, allocations: 1.125 kB / 0.5238 GB, free: 27.81 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.457e-05/0.4523, allocations: 4.078 kB / 0.5238 GB, free: 27.81 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006494/0.4588, allocations: 2.778 MB / 0.5265 GB, free: 26.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.046e-06/0.4588, allocations: 3.438 kB / 0.5265 GB, free: 26.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003643/0.4591, allocations: 95.5 kB / 0.5266 GB, free: 26.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005939/0.4651, allocations: 1.286 MB / 0.5278 GB, free: 26.43 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001579/0.4652, allocations: 14.78 kB / 0.5279 GB, free: 26.42 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01142/0.4766, allocations: 6.118 MB / 0.5338 GB, free: 22.71 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.4766, allocations: 0.5156 kB / 0.5338 GB, free: 22.71 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005566/0.4822, allocations: 1.91 MB / 0.5357 GB, free: 21.91 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002584/0.4825, allocations: 74.83 kB / 0.5358 GB, free: 21.86 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001584/0.4826, allocations: 12.53 kB / 0.5358 GB, free: 21.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006368/0.4833, allocations: 47 kB / 0.5358 GB, free: 21.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004038/0.4837, allocations: 69.19 kB / 0.5359 GB, free: 21.83 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.876e-05/0.4837, allocations: 22.28 kB / 0.5359 GB, free: 21.83 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004338/0.4842, allocations: 255.9 kB / 0.5362 GB, free: 21.7 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4842, allocations: 4.031 kB / 0.5362 GB, free: 21.7 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001266/0.4854, allocations: 286.3 kB / 0.5364 GB, free: 21.65 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.005329/0.4908, allocations: 2.487 MB / 0.5389 GB, free: 20.31 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003883/0.4947, allocations: 1.596 MB / 0.5404 GB, free: 19.63 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.012e-06/0.4947, allocations: 1.188 kB / 0.5404 GB, free: 19.63 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00291/0.4976, allocations: 1.055 MB / 0.5415 GB, free: 19.18 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006769/0.4983, allocations: 67.86 kB / 0.5415 GB, free: 19.14 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01512/0.5134, allocations: 7.757 MB / 0.5491 GB, free: 15.08 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003531/0.5137, allocations: 0.8807 MB / 0.55 GB, free: 14.3 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003477/0.5141, allocations: 81.98 kB / 0.55 GB, free: 14.26 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002662/0.5143, allocations: 195 kB / 0.5502 GB, free: 14.1 MB / 382.1 MB Notification: Performance of SimCode: time 1.172e-06/0.5143, allocations: 0 / 0.5502 GB, free: 14.1 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05552/0.5699, allocations: 24.67 MB / 0.5743 GB, free: 6.68 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14/14.57, allocations: 7.875 kB / 0.5743 GB, free: 6.672 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.43866793892812] Failed to read output from testmodel.py, exit status != 0: 14.762998732971027 14.791382532 14.643548068 Calling exit ...