Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.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.00131/0.00131, allocations: 116.7 kB / 17.88 MB, free: 5.051 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.001457/0.001457, allocations: 212.5 kB / 20.84 MB, free: 2.105 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.513/1.513, allocations: 230.6 MB / 254.2 MB, free: 15.11 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.04118/0.04118, allocations: 6.141 MB / 316.4 MB, free: 1.156 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.Examples.TwoSourcesTwoLinesOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_TwoSourcesTwoLinesOneLoad",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_TwoSourcesTwoLinesOneLoad",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002068/0.002068, allocations: 47.42 kB / 439.9 MB, free: 40.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1204, allocations: 54.99 MB / 494.9 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad): time 0.00299/0.1234, allocations: 1.653 MB / 496.6 MB, free: 8.859 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001861/0.1253, allocations: 1.618 MB / 498.2 MB, free: 7.227 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002039/0.1255, allocations: 4 kB / 498.2 MB, free: 7.223 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004214/0.1259, allocations: 123.3 kB / 498.3 MB, free: 7.102 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004116/0.1263, allocations: 131.2 kB / 498.4 MB, free: 6.973 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001446/0.1277, allocations: 0.9101 MB / 499.4 MB, free: 6.062 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003693/0.1281, allocations: 266.7 kB / 499.6 MB, free: 5.801 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001381/0.1282, allocations: 72.81 kB / 499.7 MB, free: 5.727 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.451e-05/0.1283, allocations: 107.6 kB / 499.8 MB, free: 5.621 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001576/0.1285, allocations: 135.4 kB / 499.9 MB, free: 5.488 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.323e-05/0.1285, allocations: 20 kB / 499.9 MB, free: 5.469 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004134/0.1289, allocations: 219.8 kB / 0.4884 GB, free: 5.254 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.673e-05/0.129, allocations: 55.77 kB / 0.4885 GB, free: 5.199 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.625e-05/0.1291, allocations: 123.4 kB / 0.4886 GB, free: 5.078 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004285/0.1295, allocations: 414.5 kB / 0.489 GB, free: 4.672 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1295, allocations: 4 kB / 0.489 GB, free: 4.668 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1295, allocations: 0 / 0.489 GB, free: 4.668 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.228e-05/0.1295, allocations: 0 / 0.489 GB, free: 4.668 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.002478/0.132, allocations: 0.8728 MB / 0.4899 GB, free: 3.742 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.132, allocations: 8.031 kB / 0.4899 GB, free: 3.734 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.602e-05/0.132, allocations: 4.625 kB / 0.4899 GB, free: 3.73 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.464e-05/0.1321, allocations: 54.73 kB / 0.4899 GB, free: 3.668 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.574e-05/0.1321, allocations: 24.8 kB / 0.4899 GB, free: 3.645 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002658/0.1324, allocations: 264.8 kB / 0.4902 GB, free: 3.344 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.772e-05/0.1324, allocations: 16.81 kB / 0.4902 GB, free: 3.328 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.025e-05/0.1325, allocations: 28.36 kB / 0.4902 GB, free: 3.301 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003794/0.1329, allocations: 291.5 kB / 0.4905 GB, free: 3.012 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.1329, allocations: 11.94 kB / 0.4905 GB, free: 3 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.767e-05/0.1329, allocations: 8 kB / 0.4905 GB, free: 2.992 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.1329, allocations: 4 kB / 0.4905 GB, free: 2.988 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003331/0.1332, allocations: 281.6 kB / 0.4908 GB, free: 2.711 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001261/0.1345, allocations: 1.031 MB / 0.4918 GB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008505/0.1353, allocations: 415.8 kB / 0.4922 GB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002019/0.1355, allocations: 156.8 kB / 0.4924 GB, free: 1.004 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.263e-05/0.1356, allocations: 16.42 kB / 0.4924 GB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/0.1356, allocations: 50.48 kB / 0.4924 GB, free: 0.9297 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.994e-06/0.1356, allocations: 0 / 0.4924 GB, free: 0.9297 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.002865/0.1385, allocations: 0.9362 MB / 0.4933 GB, free: 15.96 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.865e-05/0.1385, allocations: 55.41 kB / 0.4934 GB, free: 15.89 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002893/0.1388, allocations: 211.8 kB / 0.4936 GB, free: 15.68 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.557e-05/0.1389, allocations: 45.64 kB / 0.4936 GB, free: 15.63 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/0.139, allocations: 136.8 kB / 0.4938 GB, free: 15.49 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.905e-05/0.1391, allocations: 103.1 kB / 0.4939 GB, free: 15.39 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001429/0.1392, allocations: 73.67 kB / 0.4939 GB, free: 15.31 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001783/0.1394, allocations: 330.8 kB / 0.4943 GB, free: 14.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002962/0.1397, allocations: 171.9 kB / 0.4944 GB, free: 14.81 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002884/0.14, allocations: 183.9 kB / 0.4946 GB, free: 14.63 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006091/0.1406, allocations: 388.2 kB / 0.495 GB, free: 14.25 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.1406, allocations: 4 kB / 0.495 GB, free: 14.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00159/0.1422, allocations: 0.654 MB / 0.4956 GB, free: 13.58 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.1422, allocations: 4 kB / 0.4956 GB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.1422, allocations: 0 / 0.4956 GB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001171/0.1434, allocations: 240.6 kB / 0.4958 GB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002535/0.1437, allocations: 55.91 kB / 0.4959 GB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004435/0.1481, allocations: 2.69 MB / 0.4985 GB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002951/0.1484, allocations: 39.67 kB / 0.4986 GB, free: 10.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.976e-05/0.1484, allocations: 8 kB / 0.4986 GB, free: 10.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 (32): * Single equations (assignments): 31 * 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 {(3,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0001938/0.1486, allocations: 146.3 kB / 0.4987 GB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.467e-05/0.1487, allocations: 19.91 kB / 0.4987 GB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001606/0.1503, allocations: 0.5984 MB / 0.4993 GB, free: 9.629 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.1503, allocations: 4 kB / 0.4993 GB, free: 9.625 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.1503, allocations: 7.984 kB / 0.4993 GB, free: 9.617 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.767e-06/0.1503, allocations: 7.922 kB / 0.4993 GB, free: 9.609 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001999/0.1523, allocations: 1.034 MB / 0.5003 GB, free: 8.516 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.1523, allocations: 4 kB / 0.5003 GB, free: 8.512 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001269/0.1524, allocations: 39.92 kB / 0.5004 GB, free: 8.473 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00107/0.1535, allocations: 232.6 kB / 0.5006 GB, free: 8.242 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.971e-05/0.1535, allocations: 15.92 kB / 0.5006 GB, free: 8.227 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003972/0.1575, allocations: 2.657 MB / 0.5032 GB, free: 5.426 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.1575, allocations: 4 kB / 0.5032 GB, free: 5.422 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001482/0.159, allocations: 0.6497 MB / 0.5038 GB, free: 4.754 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.1591, allocations: 104.9 kB / 0.5039 GB, free: 4.633 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.777e-05/0.1591, allocations: 4 kB / 0.504 GB, free: 4.629 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000253/0.1594, allocations: 20.09 kB / 0.504 GB, free: 4.609 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.383e-05/0.1595, allocations: 23.91 kB / 0.504 GB, free: 4.586 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.832e-05/0.1595, allocations: 12 kB / 0.504 GB, free: 4.574 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002049/0.1597, allocations: 170.8 kB / 0.5042 GB, free: 4.406 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1597, allocations: 0 / 0.5042 GB, free: 4.406 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005211/0.1602, allocations: 112 kB / 0.5043 GB, free: 4.297 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 (20): * Single equations (assignments): 19 * 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 {(3,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001958/0.1622, allocations: 1.194 MB / 0.5054 GB, free: 3.074 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001456/0.1636, allocations: 0.5764 MB / 0.506 GB, free: 2.484 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.1636, allocations: 0 / 0.506 GB, free: 2.484 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008972/0.1645, allocations: 382.9 kB / 0.5064 GB, free: 2.098 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003581/0.1649, allocations: 20 kB / 0.5064 GB, free: 2.078 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005904/0.1708, allocations: 3.356 MB / 0.5097 GB, free: 14.63 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004402/0.1712, allocations: 0.7485 MB / 0.5104 GB, free: 13.86 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001269/0.1714, allocations: 33.91 kB / 0.5104 GB, free: 13.83 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000132/0.1715, allocations: 79.28 kB / 0.5105 GB, free: 13.75 MB / 382.1 MB Notification: Performance of SimCode: time 9.11e-07/0.1715, allocations: 0 / 0.5105 GB, free: 13.75 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0409/0.2124, allocations: 9.112 MB / 0.5194 GB, free: 4.789 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.59/12.8, allocations: 7.5 kB / 0.5194 GB, free: 4.785 MB / 382.1 MB " [Timeout remaining time 647] (rm -f PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_TwoSourcesTwoLinesOneLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_TwoSourcesTwoLinesOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.682509814971127] Failed to read output from testmodel.py, exit status != 0: 12.95320394798182 12.968042071 12.835464933999999 Calling exit ...