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.001373/0.001373, allocations: 105 kB / 20.53 MB, free: 1.43 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.001421/0.001421, allocations: 212.2 kB / 23.83 MB, free: 4.641 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.464/1.464, allocations: 230.6 MB / 257.6 MB, free: 7.984 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.04002/0.04002, allocations: 6.133 MB / 320.2 MB, free: 12.93 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.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.00159/0.00159, allocations: 51.92 kB / 445.3 MB, free: 5.348 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1191, allocations: 55.03 MB / 0.4886 GB, free: 14.21 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad): time 0.002837/0.1219, allocations: 1.654 MB / 0.4902 GB, free: 12.56 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002168/0.1241, allocations: 1.622 MB / 0.4918 GB, free: 10.93 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.16e-05/0.1242, allocations: 8 kB / 0.4918 GB, free: 10.92 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003826/0.1246, allocations: 131.3 kB / 0.4919 GB, free: 10.79 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002913/0.1248, allocations: 123.2 kB / 0.492 GB, free: 10.67 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001674/0.1265, allocations: 0.9181 MB / 0.4929 GB, free: 9.746 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003492/0.1269, allocations: 250.8 kB / 0.4932 GB, free: 9.5 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001544/0.127, allocations: 68.72 kB / 0.4932 GB, free: 9.43 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001208/0.1271, allocations: 107.6 kB / 0.4933 GB, free: 9.324 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002354/0.1274, allocations: 147.3 kB / 0.4935 GB, free: 9.18 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.563e-05/0.1274, allocations: 20 kB / 0.4935 GB, free: 9.16 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003833/0.1278, allocations: 223.8 kB / 0.4937 GB, free: 8.941 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.427e-05/0.1279, allocations: 55.77 kB / 0.4938 GB, free: 8.887 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001248/0.128, allocations: 119.4 kB / 0.4939 GB, free: 8.77 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005712/0.1286, allocations: 422.5 kB / 0.4943 GB, free: 8.355 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.1286, allocations: 3.938 kB / 0.4943 GB, free: 8.352 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1286, allocations: 0 / 0.4943 GB, free: 8.352 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.082e-06/0.1286, allocations: 0 / 0.4943 GB, free: 8.352 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.002702/0.1313, allocations: 0.782 MB / 0.4951 GB, free: 7.535 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.1313, allocations: 8.031 kB / 0.4951 GB, free: 7.527 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.743e-05/0.1313, allocations: 4.625 kB / 0.4951 GB, free: 7.523 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.464e-05/0.1314, allocations: 58.72 kB / 0.4951 GB, free: 7.457 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.695e-05/0.1315, allocations: 28.8 kB / 0.4951 GB, free: 7.43 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003158/0.1318, allocations: 203.8 kB / 0.4953 GB, free: 7.203 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.12e-05/0.1318, allocations: 20.8 kB / 0.4954 GB, free: 7.184 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.371e-05/0.1318, allocations: 28.31 kB / 0.4954 GB, free: 7.156 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000522/0.1324, allocations: 299.5 kB / 0.4957 GB, free: 6.855 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.1324, allocations: 0 / 0.4957 GB, free: 6.855 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.658e-05/0.1324, allocations: 4 kB / 0.4957 GB, free: 6.852 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.1324, allocations: 4 kB / 0.4957 GB, free: 6.848 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004901/0.1329, allocations: 289.6 kB / 0.496 GB, free: 6.562 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001617/0.1345, allocations: 1.015 MB / 0.497 GB, free: 5.469 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009427/0.1355, allocations: 358.7 kB / 0.4973 GB, free: 5.109 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002533/0.1357, allocations: 152.8 kB / 0.4974 GB, free: 4.957 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.009e-05/0.1358, allocations: 12.42 kB / 0.4975 GB, free: 4.945 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.559e-05/0.1358, allocations: 42.5 kB / 0.4975 GB, free: 4.895 MB / 366.1 MB Notification: Performance of pre-optimization done (n=29): time 1.313e-06/0.1358, allocations: 0 / 0.4975 GB, free: 4.895 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.003073/0.1389, allocations: 0.8687 MB / 0.4983 GB, free: 4.016 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.065e-05/0.1389, allocations: 63.39 kB / 0.4984 GB, free: 3.941 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002921/0.1392, allocations: 215.7 kB / 0.4986 GB, free: 3.719 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.197e-05/0.1393, allocations: 33.7 kB / 0.4986 GB, free: 3.68 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001182/0.1394, allocations: 144.8 kB / 0.4988 GB, free: 3.535 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001011/0.1395, allocations: 107.1 kB / 0.4989 GB, free: 3.43 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001355/0.1396, allocations: 69.64 kB / 0.4989 GB, free: 3.355 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.1398, allocations: 334.8 kB / 0.4993 GB, free: 3.02 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003067/0.1401, allocations: 183.9 kB / 0.4994 GB, free: 2.84 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003094/0.1404, allocations: 183.8 kB / 0.4996 GB, free: 2.66 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006227/0.141, allocations: 393.5 kB / 0.5 GB, free: 2.273 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.141, allocations: 0 / 0.5 GB, free: 2.273 MB / 366.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001497/0.1425, allocations: 0.654 MB / 0.5006 GB, free: 1.609 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.1425, allocations: 4 kB / 0.5006 GB, free: 1.605 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.1425, allocations: 7.922 kB / 0.5006 GB, free: 1.598 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001104/0.1436, allocations: 248.6 kB / 0.5009 GB, free: 1.352 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002191/0.1439, allocations: 51.91 kB / 0.5009 GB, free: 1.301 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004697/0.1486, allocations: 2.603 MB / 0.5035 GB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003011/0.1489, allocations: 27.72 kB / 0.5035 GB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.489e-05/0.1489, allocations: 16 kB / 0.5035 GB, free: 14.55 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 (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.0002054/0.1491, allocations: 143.1 kB / 0.5036 GB, free: 14.4 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.269e-05/0.1492, allocations: 23.86 kB / 0.5037 GB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001471/0.1506, allocations: 0.599 MB / 0.5043 GB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.949e-06/0.1507, allocations: 4 kB / 0.5043 GB, free: 13.76 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.1507, allocations: 0 / 0.5043 GB, free: 13.76 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.176e-06/0.1507, allocations: 7.922 kB / 0.5043 GB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001879/0.1525, allocations: 1.026 MB / 0.5053 GB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.1525, allocations: 0 / 0.5053 GB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001197/0.1527, allocations: 31.92 kB / 0.5053 GB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001036/0.1537, allocations: 244.6 kB / 0.5055 GB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.146e-05/0.1537, allocations: 7.938 kB / 0.5055 GB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00386/0.1576, allocations: 2.554 MB / 0.508 GB, free: 9.723 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.1576, allocations: 0 / 0.508 GB, free: 9.723 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001407/0.159, allocations: 0.649 MB / 0.5087 GB, free: 9.055 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.702e-05/0.1591, allocations: 27.78 kB / 0.5087 GB, free: 9.027 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.463e-05/0.1591, allocations: 8 kB / 0.5087 GB, free: 9.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002461/0.1594, allocations: 12 kB / 0.5087 GB, free: 9.008 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.085e-05/0.1594, allocations: 27.94 kB / 0.5087 GB, free: 8.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-05/0.1595, allocations: 8 kB / 0.5087 GB, free: 8.973 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002003/0.1597, allocations: 166.8 kB / 0.5089 GB, free: 8.809 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1597, allocations: 0 / 0.5089 GB, free: 8.809 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005441/0.1602, allocations: 107.9 kB / 0.509 GB, free: 8.703 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 (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.001906/0.1621, allocations: 1.213 MB / 0.5102 GB, free: 7.461 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001431/0.1635, allocations: 0.5923 MB / 0.5108 GB, free: 6.855 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.1635, allocations: 0 / 0.5108 GB, free: 6.855 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008954/0.1644, allocations: 378.4 kB / 0.5111 GB, free: 6.473 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003621/0.1648, allocations: 28.31 kB / 0.5112 GB, free: 6.445 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005793/0.1706, allocations: 3.36 MB / 0.5144 GB, free: 3.008 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000434/0.171, allocations: 0.7523 MB / 0.5152 GB, free: 2.227 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001271/0.1712, allocations: 25.92 kB / 0.5152 GB, free: 2.203 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001281/0.1713, allocations: 71.41 kB / 0.5153 GB, free: 2.133 MB / 382.1 MB Notification: Performance of SimCode: time 8.51e-07/0.1713, allocations: 4 kB / 0.5153 GB, free: 2.129 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2561/0.4274, allocations: 9.41 MB / 0.5245 GB, free: 29.89 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.46/13.88, allocations: 5.75 kB / 0.5245 GB, free: 29.89 MB / 382.1 MB " [Timeout remaining time 646] (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: 16.637786225997843] Failed to read output from testmodel.py, exit status != 0: 14.059955024975352 14.084205239 13.951373935 Calling exit ...